diff options
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) { |