summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-04-18 14:57:53 +0200
committerHiFiPhile <[email protected]>2025-04-18 14:57:53 +0200
commitb3d20442e2252b95f674caf5572d7c392fefb080 (patch)
tree8b5ff932d50f570557bffa8826bcfc3b45db6fcf /src/host
parent4c6736c2779b990e5f97aef7dd1480bf196fede1 (diff)
Fix usbh racing later.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 5ce325762..157a7ab86 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -1038,7 +1038,7 @@ TU_ATTR_FAST_FUNC void hcd_event_handler(hcd_event_t const* event, bool in_isr)
// Check if dev0 is removed
if ((event->rhport == _dev0.rhport) && (event->connection.hub_addr == _dev0.hub_addr) &&
(event->connection.hub_port == _dev0.hub_port)) {
- //_dev0.enumerating = 0;// Causes assert in dwc2 process_enumeration() -> ENUM_ADDR0_DEVICE_DESC
+ _dev0.enumerating = 0;
}
break;