summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorMaxime Vincent <[email protected]>2025-04-11 12:14:07 +0200
committerMaxime Vincent <[email protected]>2025-04-11 12:26:36 +0200
commit2064ee470d6c7b434d6b3aafe017ed60c3b17ab5 (patch)
tree9b6e22505c88fed30caa389d1c914ec83d0e09fb /src/host
parent865e3488f99209c57b73953428dccf2bc666f0be (diff)
dwc2/host: attach debouncing fixes
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 e60db53da..4b0f4d488 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;
+ //_dev0.enumerating = 0;// Causes assert in dwc2 process_enumeration() -> ENUM_ADDR0_DEVICE_DESC
}
break;