src-avr: Disable USB interrupts while we're not interested
authorKeith Packard <keithp@keithp.com>
Fri, 20 May 2011 09:36:59 +0000 (02:36 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 20 May 2011 09:36:59 +0000 (02:36 -0700)
commit99801601966bfb5b09c94faee6cf5d232168700e
treef0e61709b9b01f4f0bd2042586bb09601abbf764
parentfa1eb3afabda9bdf8a0aefa5cdedd382f8da0426
src-avr: Disable USB interrupts while we're not interested

We leave USB data lying around until called for, which results in
constant badgering if interrupts are enabled. Disable them until there
isn't any data left.

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