diff options
| author | hathach <[email protected]> | 2018-11-29 22:24:09 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-29 22:24:09 +0700 |
| commit | 861e7e6a7982c3e2b7e3c05b566eb06cd32b15c4 (patch) | |
| tree | 4443ddb0fd7e0bc7197f7f9a101b4f3494731388 /src/class/hid | |
| parent | ac66133ec065ec752742a39080187f6cb6e10dd8 (diff) | |
| parent | 57b85262b21333b3fe59f8abaeddda59c86b808b (diff) | |
Merge pull request #17 from hathach/devlocal
dcd lpc17xx update
Diffstat (limited to 'src/class/hid')
| -rw-r--r-- | src/class/hid/hid_device.c | 1 |
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
{
|
