diff options
| author | hathach <[email protected]> | 2021-09-14 12:47:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-09-14 12:47:20 +0700 |
| commit | 5404d6d8ae02fac16eb8dbfd4a9d15de8e6c1342 (patch) | |
| tree | c3650679245ad0a58b0f2b6b18ad23b081b8aea0 /src/host | |
| parent | 103a11d44973c587156bbd9db8502f2b99c7b71e (diff) | |
usbd pre-compute total interface length without replying on driver open
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 51b8f85b6..886a120a8 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -989,7 +989,7 @@ static bool parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configura if ( TUSB_DESC_INTERFACE_ASSOCIATION == tu_desc_type(p_desc) ) { desc_iad = (tusb_desc_interface_assoc_t const *) p_desc; - p_desc = tu_desc_next(p_desc); + p_desc = tu_desc_next(p_desc); // next to Interface } TU_ASSERT( TUSB_DESC_INTERFACE == tu_desc_type(p_desc) ); |
