diff options
| author | Cédric Berger <[email protected]> | 2026-03-22 14:07:13 +0100 |
|---|---|---|
| committer | Cédric Berger <[email protected]> | 2026-03-22 14:07:13 +0100 |
| commit | ace993c21bf613c8ffadf36406e5c23ce844e940 (patch) | |
| tree | afac3d6cc5e70c582df192419fca533371982502 | |
| parent | f615202b9b60a8a0151f6c9de049f024a68766d2 (diff) | |
False positive in tuh_task_event_ready()
| -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 cc6ff9e6e..78ed3e639 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -611,7 +611,8 @@ bool tuh_task_event_ready(void) { } #if CFG_TUH_HUB - if (!osal_queue_empty(_usbh_daq)) { + if (_usbh_data.enumerating_daddr == TUSB_INDEX_INVALID_8 && + !osal_queue_empty(_usbh_daq)) { return true; } #endif |
