From e76d543a203f210683cb77df2b9bbff1a9f4b381 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 4 May 2017 22:04:57 -0700 Subject: 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 --- src/lpc/ao_usb_lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lpc') diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c index 5c13eb4b..c50e7528 100644 --- a/src/lpc/ao_usb_lpc.c +++ b/src/lpc/ao_usb_lpc.c @@ -477,7 +477,7 @@ ao_usb_ep0_in_start(uint16_t max) ao_usb_ep0_flush(); } -static struct ao_usb_line_coding ao_usb_line_coding = {115200, 0, 0, 8}; +struct ao_usb_line_coding ao_usb_line_coding = {115200, 0, 0, 8}; /* Walk through the list of descriptors and find a match */ -- cgit v1.2.3