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/core/ao_usb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/ao_usb.h b/src/core/ao_usb.h index 35e64e65..1ce4f82f 100644 --- a/src/core/ao_usb.h +++ b/src/core/ao_usb.h @@ -137,4 +137,6 @@ struct ao_usb_line_coding { uint8_t data_bits; } ; +extern __pdata uint8_t ao_usb_running; + #endif /* _AO_USB_H_ */ -- cgit v1.2.3