summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-07-17 22:46:16 +0700
committerhathach <[email protected]>2022-07-17 22:56:07 +0700
commitb495d6f8ec263e51b0683ab85ff9e54dab6f5fd3 (patch)
treec70424e3bd22b5955e6e39d09e0c3d41da6fa16b /src/class/hid/hid_device.c
parent868f2bcda092b0b8d5f7ac55ffaef2c81316d35e (diff)
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release
Diffstat (limited to 'src/class/hid/hid_device.c')
-rw-r--r--src/class/hid/hid_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index 2d46d760f..8077e4deb 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -403,7 +403,7 @@ bool hidd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_
{
if (tud_hid_report_complete_cb)
{
- tud_hid_report_complete_cb(instance, p_hid->epin_buf, (uint16_t) xferred_bytes);
+ tud_hid_report_complete_cb(instance, p_hid->epin_buf, (/*uint16_t*/ uint8_t) xferred_bytes);
}
}
// Received report