diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-15 12:53:51 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-15 12:53:51 +0000 |
commit | 07174c6fca67147c120b1a102b7cc40ad3ce4d69 (patch) | |
tree | 01d2e3c52d7d29f21da60c57b19ae2ec069647f4 /stmhal/usb.c | |
parent | e285511a23046e3a72b819f183fd83c6949e2cb4 (diff) | |
download | micropython-07174c6fca67147c120b1a102b7cc40ad3ce4d69.tar.gz micropython-07174c6fca67147c120b1a102b7cc40ad3ce4d69.zip |
stmhal: Fix escape sequences in USB CDC input.
Diffstat (limited to 'stmhal/usb.c')
-rw-r--r-- | stmhal/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/usb.c b/stmhal/usb.c index e6e994a0fa..21b88f9a1c 100644 --- a/stmhal/usb.c +++ b/stmhal/usb.c @@ -71,8 +71,8 @@ void usb_vcp_set_interrupt_char(int c) { } } -int usb_vcp_rx_any(void) { - return USBD_CDC_RxAny(); +int usb_vcp_rx_num(void) { + return USBD_CDC_RxNum(); } char usb_vcp_rx_get(void) { |