From 2e2e10417e4e2a6e2aec3493fd65859ad80e8c30 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Thu, 13 Jul 2017 16:46:26 -0300 Subject: USBH: testhal example: add delay for VBUS stabilization --- testhal/STM32/STM32F4xx/USB_HOST/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testhal/STM32') diff --git a/testhal/STM32/STM32F4xx/USB_HOST/main.c b/testhal/STM32/STM32F4xx/USB_HOST/main.c index a450019..215b9ec 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/main.c +++ b/testhal/STM32/STM32F4xx/USB_HOST/main.c @@ -917,6 +917,7 @@ int main(void) { //turn on USB power palClearPad(GPIOC, GPIOC_OTG_FS_POWER_ON); + chThdSleepMilliseconds(100); //start #if STM32_USBH_USE_OTG1 -- cgit v1.2.3