diff options
| author | hathach <[email protected]> | 2019-04-11 00:51:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-04-11 00:51:28 +0700 |
| commit | 72575534f84c815e812beb7165c98d74aaa8f487 (patch) | |
| tree | 008d2ecbe0872c5fc3dbe7b278d488caf8f95351 /src/device/usbd.c | |
| parent | 61021831935cb6e93979cecfdd414a8d6a2219fe (diff) | |
remove auto device descriptor
Application should declare its own device descriptor
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index cdbd6db5b..9939d1812 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -577,7 +577,7 @@ static void const* get_descriptor(tusb_control_request_t const * p_request, uint switch(desc_type)
{
case TUSB_DESC_DEVICE:
- desc_data = (uint8_t const *) usbd_desc_set->device;
+ desc_data = (uint8_t const *) tud_desc_set.device;
len = sizeof(tusb_desc_device_t);
break;
|
