summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2020-06-14 14:22:10 +0200
committerReinhard Panhuber <[email protected]>2020-06-14 14:22:10 +0200
commitbc7e24b659e0d184f3405681af5f13bd4a5094aa (patch)
tree7721e8112668dea33881524b176989d43ce04227
parentb25bbf4776cb992f25faf607077f39810165eebe (diff)
Fix wrong comment for IAD checks.
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index e5ff52542..29b10c0fa 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -763,7 +763,7 @@ static bool process_set_config(uint8_t rhport, uint8_t cfg_num)
// If IAD exist, assign all interfaces to the same driver
if (desc_itf_assoc)
{
- // IAD's first interface number and class/subclass/protocol should match with opened interface
+ // IAD's first interface number and class should match with opened interface
TU_ASSERT(desc_itf_assoc->bFirstInterface == desc_itf->bInterfaceNumber &&
desc_itf_assoc->bFunctionClass == desc_itf->bInterfaceClass);