mirror of https://github.com/ARMmbed/mbed-os.git
Fix: #13203: USB device: wait_us instead of ThisThread::sleep_for, delay given is 5us
parent
a6207cadad
commit
8d1503b220
|
|
@ -411,7 +411,7 @@ void USBPhyHw::init(USBPhyEvents *events)
|
|||
LPC_PINCON->PINSEL4 |= 0x00040000;
|
||||
|
||||
// Connect must be low for at least 2.5uS
|
||||
ThisThread::sleep_for(300);
|
||||
wait_us(5);
|
||||
|
||||
// Disable control endpoints
|
||||
SIEsetEndpointStatus(EP0IN, SIE_SES_DA);
|
||||
|
|
|
|||
Loading…
Reference in New Issue