Merge pull request #13206 from vvkaggarwal12/usb-device-fix

Usb device init: wait_us fix
pull/13223/head
Martin Kojtal 2020-07-01 14:08:47 +02:00 committed by GitHub
commit ffeb926a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);