On Friday 30 June 2006 12:40 am, Lothar Wassmann wrote: > Hi, > > > > What if a hardware designer chooses to use GPIO '0' for one of these > > > functions? > > > > It's explained earlier in the patch: > > > Ok, it's obviously too early in the morning... :)
;) > > ... that is, the GPIO_bit(x) in that gpio_set() call will > > morph (0|bits) into 0 so the test succeeds. > > > Unless the chosen bit happens to be 'GPIO_IN', which is defined as 0. Well, use a different bit then ... GPIO_OUT would work, those values aren't used in "full glory". Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
