aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbd_cdc_interface.h
diff options
context:
space:
mode:
authorDamien George2014-03-15 12:53:51 +0000
committerDamien George2014-03-15 12:53:51 +0000
commit07174c6fca67147c120b1a102b7cc40ad3ce4d69 (patch)
tree01d2e3c52d7d29f21da60c57b19ae2ec069647f4 /stmhal/usbd_cdc_interface.h
parente285511a23046e3a72b819f183fd83c6949e2cb4 (diff)
stmhal: Fix escape sequences in USB CDC input.
Diffstat (limited to 'stmhal/usbd_cdc_interface.h')
-rw-r--r--stmhal/usbd_cdc_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/usbd_cdc_interface.h b/stmhal/usbd_cdc_interface.h
index cabd68c1e..3411893ae 100644
--- a/stmhal/usbd_cdc_interface.h
+++ b/stmhal/usbd_cdc_interface.h
@@ -51,7 +51,7 @@ extern USBD_CDC_ItfTypeDef USBD_CDC_fops;
void USBD_CDC_SetInterrupt(int chr, void *data);
void USBD_CDC_Tx(const char *str, uint32_t len);
-int USBD_CDC_RxAny(void);
+int USBD_CDC_RxNum(void);
int USBD_CDC_RxGet(void);
/* Exported macro ------------------------------------------------------------*/