summaryrefslogtreecommitdiff
path: root/stmhal/usbd_hid_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/usbd_hid_interface.h')
-rw-r--r--stmhal/usbd_hid_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/usbd_hid_interface.h b/stmhal/usbd_hid_interface.h
index 9cdf32549..fbc874796 100644
--- a/stmhal/usbd_hid_interface.h
+++ b/stmhal/usbd_hid_interface.h
@@ -6,4 +6,5 @@
extern const USBD_HID_ItfTypeDef USBD_HID_fops;
-int USBD_HID_Rx(uint8_t *buf, uint32_t len, uint32_t timeout);
+int USBD_HID_RxNum(void);
+int USBD_HID_Rx(USBD_HandleTypeDef *pdev, uint8_t *buf, uint32_t len, uint32_t timeout);