dwc2/host: attach debouncing fixes

This commit is contained in:
Maxime Vincent
2025-04-11 12:14:07 +02:00
parent 865e3488f9
commit 2064ee470d
2 changed files with 24 additions and 4 deletions

View File

@@ -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;