mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
update actual link speed for spresense
This commit is contained in:
parent
dc00f0cae1
commit
7baeea7a00
@ -134,7 +134,8 @@ static void _dcd_disconnect(FAR struct usbdevclass_driver_s *driver, FAR struct
|
|||||||
{
|
{
|
||||||
(void) driver;
|
(void) driver;
|
||||||
|
|
||||||
dcd_event_bus_signal(0, DCD_EVENT_BUS_RESET, true);
|
tusb_speed_t speed = (dev->speed == 3) ? TUSB_SPEED_HIGH : TUSB_SPEED_FULL;
|
||||||
|
dcd_event_bus_reset(0, speed, true);
|
||||||
DEV_CONNECT(dev);
|
DEV_CONNECT(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user