diff options
| author | Reinhard Panhuber <[email protected]> | 2020-06-20 11:02:04 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2020-06-20 11:02:04 +0200 |
| commit | 948728b82e785f52c4ee3b7bb290cd90526ac629 (patch) | |
| tree | 65198e63a44b2b644073a2756c83374cf9093628 /src/device/usbd.c | |
| parent | 1af77233ed9008708e4ee9c0bca924cdc23e1c7b (diff) | |
| parent | 862d1667f0c7e94af29f92d575a7d14dbe126a66 (diff) | |
Merge remote-tracking branch 'origin/uac2' into uac2
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 26c7d3936..ff127a3c1 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -777,10 +777,8 @@ static bool process_set_config(uint8_t rhport, uint8_t cfg_num) if (desc_itf_assoc) { // IAD's first interface number and class/subclass/protocol should match with opened interface - TU_ASSERT(desc_itf_assoc->bFirstInterface == desc_itf->bInterfaceNumber && - desc_itf_assoc->bFunctionClass == desc_itf->bInterfaceClass && - desc_itf_assoc->bFunctionSubClass == desc_itf->bInterfaceSubClass && - desc_itf_assoc->bFunctionProtocol == desc_itf->bInterfaceProtocol); + TU_ASSERT(desc_itf_assoc->bFirstInterface == desc_itf->bInterfaceNumber && + desc_itf_assoc->bFunctionClass == desc_itf->bInterfaceClass); for(uint8_t i=1; i<desc_itf_assoc->bInterfaceCount; i++) { |
