mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13206 from vvkaggarwal12/usb-device-fix
Usb device init: wait_us fixpull/13223/head
commit
ffeb926a67
|
@ -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