diff options
author | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-07-13 16:46:26 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian (at) google's mail.com> | 2017-07-13 16:46:26 -0300 |
commit | 2e2e10417e4e2a6e2aec3493fd65859ad80e8c30 (patch) | |
tree | df07656768d5522d8c4359f2308b48c95d0656d5 /testhal/STM32/STM32F4xx | |
parent | c044306ad058689783b1a6941a2a44d5baf738a2 (diff) | |
download | ChibiOS-Contrib-2e2e10417e4e2a6e2aec3493fd65859ad80e8c30.tar.gz ChibiOS-Contrib-2e2e10417e4e2a6e2aec3493fd65859ad80e8c30.tar.bz2 ChibiOS-Contrib-2e2e10417e4e2a6e2aec3493fd65859ad80e8c30.zip |
USBH: testhal example: add delay for VBUS stabilization
Diffstat (limited to 'testhal/STM32/STM32F4xx')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_HOST/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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
|