diff options
| author | HiFiPhile <[email protected]> | 2025-04-18 14:57:53 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-04-18 14:57:53 +0200 |
| commit | b3d20442e2252b95f674caf5572d7c392fefb080 (patch) | |
| tree | 8b5ff932d50f570557bffa8826bcfc3b45db6fcf /src | |
| parent | 4c6736c2779b990e5f97aef7dd1480bf196fede1 (diff) | |
Fix usbh racing later.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/host/usbh.c | 2 |
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; |
