summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_host.c
diff options
context:
space:
mode:
authorJames Smith <[email protected]>2023-02-09 19:42:36 -0700
committerhathach <[email protected]>2023-03-13 16:31:25 +0700
commit296ce528fcc3632205cb7f6f5a2f386169fdbf36 (patch)
tree4a1bbed24bd972fcfe5eee4cbc804d184eb8b5c5 /src/class/hid/hid_host.c
parentf6774d561148c7c2f41b66234d080e9dfd514551 (diff)
Updated host hid_controller example to demo tuh_hid_send_report
Diffstat (limited to 'src/class/hid/hid_host.c')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 22569194f..e5fc86267 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -274,7 +274,7 @@ bool tuh_hid_receive_report(uint8_t dev_addr, uint8_t instance)
// return !usbh_edpt_busy(dev_addr, hid_itf->ep_in);
//}
-bool tuh_hid_send_report(uint8_t dev_addr, uint8_t instance, uint8_t report_id, uint8_t const* report, uint16_t len)
+bool tuh_hid_send_report(uint8_t dev_addr, uint8_t instance, uint8_t report_id, const void* report, uint16_t len)
{
TU_LOG2("HID Send Report %d\r\n", report_id);