diff options
| author | hathach <[email protected]> | 2018-03-12 22:37:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-12 22:37:12 +0700 |
| commit | 80398cb4cb5c6dffa69578ba6b83d80a75d01cb4 (patch) | |
| tree | 9f1fa00a7ed7dd9a1a314dee8daaf9b6391ff4ca /tinyusb/device | |
| parent | c696812cad071e4748bfb44095d93d93cddd65fb (diff) | |
more hcd clean up
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index cb5e651fd..f2763209a 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -401,7 +401,7 @@ static tusb_error_t usbd_set_configure_received(uint8_t port, uint8_t config_num static tusb_error_t get_descriptor(uint8_t port, tusb_control_request_t const * const p_request, uint8_t const ** pp_buffer, uint16_t * p_length)
{
- tusb_std_descriptor_type_t const desc_type = (tusb_std_descriptor_type_t) u16_high_u8(p_request->wValue);
+ tusb_desc_type_t const desc_type = (tusb_desc_type_t) u16_high_u8(p_request->wValue);
uint8_t const desc_index = u16_low_u8( p_request->wValue );
uint8_t const * p_data = NULL ;
|
