summaryrefslogtreecommitdiff
path: root/supervisor/shared/usb/usb_desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'supervisor/shared/usb/usb_desc.c')
-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