summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/usbd_hid_interface.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-06-07 16:00:18 +1000
committerDamien George <damien.p.george@gmail.com>2017-06-07 16:03:45 +1000
commitf86c57fedffcabbec94d4b56bb45cc627f48ab55 (patch)
tree6781b9af8082ca5f1d6402b0956dbbc6df24bef7 /stmhal/usbd_hid_interface.h
parent3bb69f645a29429be63756616d3019e889c1d355 (diff)
downloadmicropython-f86c57fedffcabbec94d4b56bb45cc627f48ab55.tar.gz
micropython-f86c57fedffcabbec94d4b56bb45cc627f48ab55.zip
stmhal/usb: Make state for USB device private to top-level USB driver.
Diffstat (limited to 'stmhal/usbd_hid_interface.h')
-rw-r--r--stmhal/usbd_hid_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/usbd_hid_interface.h b/stmhal/usbd_hid_interface.h
index 959c46ff8a..fbc874796e 100644
--- a/stmhal/usbd_hid_interface.h
+++ b/stmhal/usbd_hid_interface.h
@@ -7,4 +7,4 @@
extern const USBD_HID_ItfTypeDef USBD_HID_fops;
int USBD_HID_RxNum(void);
-int USBD_HID_Rx(uint8_t *buf, uint32_t len, uint32_t timeout);
+int USBD_HID_Rx(USBD_HandleTypeDef *pdev, uint8_t *buf, uint32_t len, uint32_t timeout);