summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-04 22:04:57 -0700
committerKeith Packard <keithp@keithp.com>2017-05-04 22:10:36 -0700
commite76d543a203f210683cb77df2b9bbff1a9f4b381 (patch)
treea02009cfb1a11e7d25763beb32274a466739ad63 /src/kernel
parenta84bc1bd8dd19d47709614b0c2639958d09fbf7e (diff)
altos: Make CDC ACM 'line coding' public
This allows other systems to see what baud rate the host has requested. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/ao_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/ao_usb.h b/src/kernel/ao_usb.h
index cdea5178..936d939b 100644
--- a/src/kernel/ao_usb.h
+++ b/src/kernel/ao_usb.h
@@ -155,6 +155,8 @@ struct ao_usb_line_coding {
uint8_t data_bits;
} ;
+extern __xdata struct ao_usb_line_coding ao_usb_line_coding;
+
extern __pdata uint8_t ao_usb_running;
#endif /* _AO_USB_H_ */