use dcd_event_bus_reset() with speed to replace bus_signal

This commit is contained in:
hathach
2021-01-08 22:34:36 +07:00
parent fb896be201
commit 6e6e6265e4
17 changed files with 39 additions and 33 deletions

View File

@@ -471,7 +471,7 @@ static void bus_event_isr(uint8_t rhport)
if (dev_status & SIE_DEV_STATUS_RESET_MASK)
{
bus_reset();
dcd_event_bus_signal(rhport, DCD_EVENT_BUS_RESET, true);
dcd_event_bus_reset(rhport, TUSB_SPEED_FULL, true);
}
if (dev_status & SIE_DEV_STATUS_CONNECT_CHANGE_MASK)