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/cc1111 | |
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/cc1111')
-rw-r--r-- | src/cc1111/ao_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc1111/ao_usb.c b/src/cc1111/ao_usb.c index b0ab409d..2141eda8 100644 --- a/src/cc1111/ao_usb.c +++ b/src/cc1111/ao_usb.c @@ -24,7 +24,7 @@ static __xdata uint16_t ao_usb_in_bytes; static __pdata uint16_t ao_usb_in_bytes_last; static __xdata uint16_t ao_usb_out_bytes; static __pdata uint8_t ao_usb_iif; -static __pdata uint8_t ao_usb_running; +__pdata uint8_t ao_usb_running; static void ao_usb_set_interrupts(void) |