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/core | |
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/core')
-rw-r--r-- | src/core/ao_usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
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_ */ |