>> What do you mean by
>> + for (reps = 0; reps >= 0; reps++) {
>> ?
>
> If you will not reps is negative. Roughly it is a loop
> that will timeout eventually if a usb debug cable is not present.
> So since I didn't know how many loop iterations made sense I allowed
> it to loop for 2^31 times or until reps goes negative.
This doesn't work however. Signed overflow in C is undefined,
and GCC actually optimises accordingly (unless -fwrapv is used).
Segher
--
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios