diff options
| author | hathach <[email protected]> | 2019-04-18 23:59:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-04-18 23:59:21 +0700 |
| commit | 23bcf1cc7a38df4376a27f538604283571773cfc (patch) | |
| tree | c58bb6df4b5b52ee6cf76ef71676462934529acc /src/class/hid | |
| parent | 307ba23046ff4c0795009c1426708facb37bdf82 (diff) | |
remove auto descriptor and its option CFG_TUD_DESC_AUTO
Diffstat (limited to 'src/class/hid')
| -rw-r--r-- | src/class/hid/hid_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index ff572a0d2..38ad99a35 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -241,7 +241,7 @@ 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)
{
- usbd_control_xfer(rhport, p_request, (void*) usbd_desc_set->hid_report, p_hid->reprot_desc_len);
+ usbd_control_xfer(rhport, p_request, (void*) tud_desc_set.hid_report, p_hid->reprot_desc_len);
}else
{
return false; // stall unsupported request
|
