summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-26 12:25:28 +0700
committerhathach <[email protected]>2018-11-26 12:29:55 +0700
commit064eec5dd8e27b1f8e88b24a5d5071bbd8458a29 (patch)
tree67c88215704cf88c386769577c61e6083a81d4d3 /src/class/hid
parent4ec7dba453d414d0c0c67c6f5bab5a9ca9eba388 (diff)
clean up warnings
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index c89c15acc..6e2ea27db 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -418,7 +418,6 @@ bool hidd_control_request(uint8_t rhport, tusb_control_request_t const * p_reque
if (p_request->bRequest == TUSB_REQ_GET_DESCRIPTOR && desc_type == HID_DESC_TYPE_REPORT)
{
- // Cast away the const on p_hid->desc_report because we know it won't be modified.
usbd_control_xfer(rhport, p_request, (void *)p_hid->desc_report, p_hid->desc_len);
}else
{