diff options
| author | Reinhard Panhuber <[email protected]> | 2020-06-14 12:58:16 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2020-06-14 12:58:16 +0200 |
| commit | b25bbf4776cb992f25faf607077f39810165eebe (patch) | |
| tree | 6ab25e7302ca6e91a1152ae800ae072cf3b1bb8f /src/device | |
| parent | 3012175351fa1f262533527c0444ce9d44917943 (diff) | |
Fix alignment.
Diffstat (limited to 'src/device')
| -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 f11696e78..e5ff52542 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -764,7 +764,7 @@ 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 && + 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++) |
