diff options
| author | sakimisu <[email protected]> | 2023-05-26 19:31:38 +0800 |
|---|---|---|
| committer | sakimisu <[email protected]> | 2023-05-26 19:31:38 +0800 |
| commit | e77657e723b09c0a193845f6491848bd5a205a95 (patch) | |
| tree | 455dcd8a2f6290f575b6a5a90af551f46f547da9 | |
| parent | 00546b64b7dbccaac52e48e003ae461a34354c41 (diff) | |
extend report length
| -rw-r--r-- | class/hid/usbd_hid.c | 2 | ||||
| -rw-r--r-- | class/hid/usbd_hid.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/class/hid/usbd_hid.c b/class/hid/usbd_hid.c index fcb7583d..7e31e79b 100644 --- a/class/hid/usbd_hid.c +++ b/class/hid/usbd_hid.c @@ -76,7 +76,7 @@ __WEAK uint8_t usbh_hid_get_protocol(uint8_t intf) return 0; } -__WEAK void usbh_hid_set_report(uint8_t intf, uint8_t report_id, uint8_t report_type, uint8_t *report, uint8_t report_len) +__WEAK void usbh_hid_set_report(uint8_t intf, uint8_t report_id, uint8_t report_type, uint8_t *report, uint32_t report_len) { } diff --git a/class/hid/usbd_hid.h b/class/hid/usbd_hid.h index 03d9ff9c..8a41508b 100644 --- a/class/hid/usbd_hid.h +++ b/class/hid/usbd_hid.h @@ -23,7 +23,7 @@ void usbd_hid_report_descriptor_register(uint8_t intf_num, const uint8_t *desc, void usbh_hid_get_report(uint8_t intf, uint8_t report_id, uint8_t report_type, uint8_t **data, uint32_t *len); uint8_t usbh_hid_get_idle(uint8_t intf, uint8_t report_id); uint8_t usbh_hid_get_protocol(uint8_t intf); -void usbh_hid_set_report(uint8_t intf, uint8_t report_id, uint8_t report_type, uint8_t *report, uint8_t report_len); +void usbh_hid_set_report(uint8_t intf, uint8_t report_id, uint8_t report_type, uint8_t *report, uint32_t report_len); void usbh_hid_set_idle(uint8_t intf, uint8_t report_id, uint8_t duration); void usbh_hid_set_protocol(uint8_t intf, uint8_t protocol); |
