summaryrefslogtreecommitdiff
path: root/src/lpc/ao_usb_lpc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-02-18 09:44:52 -0800
committerKeith Packard <keithp@keithp.com>2014-02-18 09:44:52 -0800
commit9f6983e3d61fa5231f3d0ce33dbc5aadf946b597 (patch)
treec4563bd10f4d2bb094e953599f2029bfca37182a /src/lpc/ao_usb_lpc.c
parent9b9d5b273a410e315739c5c6eaa4105523056b9a (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/lpc/ao_usb_lpc.c')
-rw-r--r--src/lpc/ao_usb_lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c
index d02ccdd6..340413fa 100644
--- a/src/lpc/ao_usb_lpc.c
+++ b/src/lpc/ao_usb_lpc.c
@@ -109,7 +109,7 @@ static uint8_t ao_usb_in_pending;
* but not pulled to the shadow buffer.
*/
static uint8_t ao_usb_out_avail;
-static uint8_t ao_usb_running;
+uint8_t ao_usb_running;
static uint8_t ao_usb_configuration;
#define AO_USB_EP0_GOT_RESET 1