diff options
| author | HiFiPHile <[email protected]> | 2026-09-01 17:44:58 +0200 |
|---|---|---|
| committer | HiFiPHile <[email protected]> | 2026-09-02 15:21:41 +0200 |
| commit | 51761d2dfdf2036395b0b6ada6fdde213f97416f (patch) | |
| tree | 562a79f2c1c8aa2c90851129500706ccfc4c7c51 /src/host | |
| parent | a52b5a0c25d2cfea286d67eb3d9d8891a9b69e8f (diff) | |
| parent | 762517e6c41bedba73df04bc3c2181d7e5fe1d5e (diff) | |
Merge remote-tracking branch 'origin/master' into agent/fix-dwc2-host-fifo-allocation
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 6b87b5127..94d075813 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -2162,7 +2162,8 @@ static bool enum_parse_configuration_desc(uint8_t dev_addr, tusb_desc_configurat TU_LOG_USBH(" %s opened\r\n", driver->name); // bind found driver to all interfaces and endpoint within drv_len - tu_bind_driver_to_ep_itf(drv_id, dev->ep2drv, dev->itf2drv, CFG_TUH_INTERFACE_MAX, p_desc, drv_len); + TU_ASSERT(tu_bind_driver_to_ep_itf(drv_id, dev->ep2drv, dev->itf2drv, CFG_TUH_INTERFACE_MAX, + CFG_TUH_ENDPOINT_MAX, p_desc, drv_len)); p_desc += drv_len; // next Interface break; // exit driver find loop |
