diff options
| author | hathach <[email protected]> | 2022-12-16 23:54:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-16 23:54:21 +0700 |
| commit | fc9321ce26ed5662cfa6a48b52507b4a39a8cc08 (patch) | |
| tree | 5c8baefd8da02e67ece55471b431cfc73db1c3e8 /src/host | |
| parent | 4811b3463ff20fb6eee551b42d66a6e74b411746 (diff) | |
correct cdc usbh_driver_set_config_complete()
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index b0cd62bac..4b278f2da 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -1570,7 +1570,8 @@ void usbh_driver_set_config_complete(uint8_t dev_addr, uint8_t itf_num) for(itf_num++; itf_num < CFG_TUH_INTERFACE_MAX; itf_num++) { // continue with next valid interface - // TODO skip IAD binding interface such as CDCs + // IAD binding interface such as CDCs should return itf_num + 1 when complete + // with usbh_driver_set_config_complete() uint8_t const drv_id = dev->itf2drv[itf_num]; if (drv_id != DRVID_INVALID) { |
