use dcd_event_bus_reset() with speed to replace bus_signal
This commit is contained in:
@@ -338,7 +338,7 @@ void dcd_int_handler(uint8_t rhport)
|
||||
if (intr_status & UDP_ISR_ENDBUSRES_Msk)
|
||||
{
|
||||
bus_reset();
|
||||
dcd_event_bus_signal(rhport, DCD_EVENT_BUS_RESET, true);
|
||||
dcd_event_bus_reset(rhport, TUSB_SPEED_FULL, true);
|
||||
}
|
||||
|
||||
// SOF
|
||||
|
Reference in New Issue
Block a user