From 9f6983e3d61fa5231f3d0ce33dbc5aadf946b597 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 18 Feb 2014 09:44:52 -0800 Subject: altos: Expose ao_usb_running globally This lets other bits of the code know when USB has been connected. Signed-off-by: Keith Packard --- src/cc1111/ao_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cc1111') 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) -- cgit v1.2.3