diff options
| author | Keith Packard <keithp@keithp.com> | 2013-05-22 13:03:06 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-08-25 22:24:00 -0700 | 
| commit | d0b4e926ecececa7499a301b6135189be119512e (patch) | |
| tree | a2c8a67bf1528745a25acfc202d238e7b3242e49 /src/cc1111/ao_usb.c | |
| parent | 3ded57394f6dfd7beb9526c031a5c6c6c9926917 (diff) | |
Initial TeleMini bits
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_usb.c')
| -rw-r--r-- | src/cc1111/ao_usb.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cc1111/ao_usb.c b/src/cc1111/ao_usb.c index a655d1be..b0ab409d 100644 --- a/src/cc1111/ao_usb.c +++ b/src/cc1111/ao_usb.c @@ -201,6 +201,11 @@ ao_usb_ep0_setup(void)  				ao_usb_ep0_queue_byte(0);  				break;  			case AO_USB_REQ_SET_ADDRESS: +#if USB_FORCE_FLIGHT_IDLE +				/* Go to idle mode if USB is connected +				 */ +				ao_flight_force_idle = 1; +#endif  				ao_usb_set_address(ao_usb_setup.value);  				break;  			case AO_USB_REQ_GET_DESCRIPTOR:  | 
