diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-09-20 01:05:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-10-16 21:14:42 +0100 |
commit | dff8320a5d04d74d8a08a81d9e6f6ed296d672ce (patch) | |
tree | 6794d4f98756771543d9838a315e95089bdd394a /firmware/usbstack/usb_hid.h | |
parent | b69d43c247994c846da75c4b35d4351fbf96984d (diff) | |
download | rockbox-dff8320a5d04d74d8a08a81d9e6f6ed296d672ce.tar.gz rockbox-dff8320a5d04d74d8a08a81d9e6f6ed296d672ce.zip |
usb: add request data argument to all control request handlers
Change-Id: I237143fa0d95c914b8e25ed22f8acde96ec00551
Diffstat (limited to 'firmware/usbstack/usb_hid.h')
-rw-r--r-- | firmware/usbstack/usb_hid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_hid.h b/firmware/usbstack/usb_hid.h index 917992cd35..41e6662e29 100644 --- a/firmware/usbstack/usb_hid.h +++ b/firmware/usbstack/usb_hid.h | |||
@@ -32,7 +32,7 @@ void usb_hid_init_connection(void); | |||
32 | void usb_hid_init(void); | 32 | void usb_hid_init(void); |
33 | void usb_hid_disconnect(void); | 33 | void usb_hid_disconnect(void); |
34 | void usb_hid_transfer_complete(int ep, int dir, int status, int length); | 34 | void usb_hid_transfer_complete(int ep, int dir, int status, int length); |
35 | bool usb_hid_control_request(struct usb_ctrlrequest* req, unsigned char* dest); | 35 | bool usb_hid_control_request(struct usb_ctrlrequest* req, void* reqdata, unsigned char* dest); |
36 | 36 | ||
37 | void usb_hid_send(usage_page_t usage_page, int id); | 37 | void usb_hid_send(usage_page_t usage_page, int id); |
38 | 38 | ||