In USB pollchar, wait for packet before re-checking USB out len
authorKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:32:07 +0000 (21:32 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 5 Nov 2009 05:32:07 +0000 (21:32 -0800)
commit3ece984f4d72b4f720a5efdfaad7cff77a93d676
tree9c351576c0e3f295461bc9a81867998dc38cc401
parentbc62bb254085cc705203b57260c04ac5e14c6611
In USB pollchar, wait for packet before re-checking USB out len

This probably wouldn't actually cause a problem, but it seems more
reliable to wait for a packet interrupt before re-reading the packet
OUT len register. This could avoid spinning while waiting for a USB
packet, which seems like a good thing.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_usb.c