summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-14 18:07:58 +0700
committerhathach <[email protected]>2021-05-18 12:58:24 +0700
commit5b2d117bcdd5d17afd678ac6118ba4c336284b44 (patch)
tree6f84a043324c4f3dff35713de0983aaab2d0dfd3 /src/class
parent93661042d96d08ad9f0de66fa44d22bdc4faeb08 (diff)
fix compile
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h
index a36f7e623..6b876ae74 100644
--- a/src/class/hid/hid_device.h
+++ b/src/class/hid/hid_device.h
@@ -80,7 +80,7 @@ bool tud_hid_n_gamepad_report(uint8_t itf, uint8_t report_id, int8_t x, int8_t y
//--------------------------------------------------------------------+
static inline bool tud_hid_ready(void);
static inline bool tud_hid_boot_mode(void);
-static inline bool tud_hid_report(uint8_t report_id, void const* report, uint8_t len);
+static inline bool tud_hid_report(uint8_t report_id, void const* report, uint16_t len);
static inline bool tud_hid_keyboard_report(uint8_t report_id, uint8_t modifier, uint8_t keycode[6]);
static inline bool tud_hid_mouse_report(uint8_t report_id, uint8_t buttons, int8_t x, int8_t y, int8_t vertical, int8_t horizontal);