diff options
author | Keith Packard <keithp@keithp.com> | 2014-02-18 09:44:52 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-02-18 09:44:52 -0800 |
commit | 9f6983e3d61fa5231f3d0ce33dbc5aadf946b597 (patch) | |
tree | c4563bd10f4d2bb094e953599f2029bfca37182a /src/avr | |
parent | 9b9d5b273a410e315739c5c6eaa4105523056b9a (diff) |
altos: Expose ao_usb_running globally
This lets other bits of the code know when USB has been connected.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr')
-rw-r--r-- | src/avr/ao_usb_avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/ao_usb_avr.c b/src/avr/ao_usb_avr.c index bd75b17d..cb0455c2 100644 --- a/src/avr/ao_usb_avr.c +++ b/src/avr/ao_usb_avr.c @@ -46,7 +46,7 @@ static __xdata uint8_t ao_usb_ep0_out_len; static __xdata uint8_t *__xdata ao_usb_ep0_out_data; static __xdata uint8_t ao_usb_in_flushed; -static __xdata uint8_t ao_usb_running; +__xdata uint8_t ao_usb_running; static __xdata uint8_t ao_usb_configuration; static __xdata uint8_t ueienx_0; |