summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorKamil Tomaszewski <kamil.tomaszewski@sony.com>2021-02-24 19:09:17 +0100
committerKamil Tomaszewski <kamil.tomaszewski@sony.com>2021-02-24 19:09:17 +0100
commitef3a61432be5bf7a4778607d49b3ed49cb141cf7 (patch)
tree092b903c70fd2e6802cd8a891a30bc4049966a19 /supervisor/shared
parentdafdd246bc4841357e74725e94a96f18c114fd36 (diff)
Add the missing argument to the HID functions
Diffstat (limited to 'supervisor/shared')
-rw-r--r--supervisor/shared/usb/usb_desc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/supervisor/shared/usb/usb_desc.c b/supervisor/shared/usb/usb_desc.c
index 419a70ab3..b08d3b227 100644
--- a/supervisor/shared/usb/usb_desc.c
+++ b/supervisor/shared/usb/usb_desc.c
@@ -47,8 +47,9 @@ uint8_t const * tud_descriptor_configuration_cb(uint8_t index) {
// Invoked when received GET HID REPORT DESCRIPTOR
// Application return pointer to descriptor
// Descriptor contents must exist long enough for transfer to complete
-uint8_t const * tud_hid_descriptor_report_cb(void) {
- return hid_report_descriptor;
+uint8_t const * tud_hid_descriptor_report_cb(uint8_t itf) {
+ (void) itf;
+ return hid_report_descriptor;
}
#endif