From 03f609e27c2dca200fce5b42f3a3467570e718bd Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 28 Nov 2015 10:20:34 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8538 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/OTGv1/usb_lld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c index 9c37d58a5..85be3e26f 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c +++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c @@ -135,7 +135,7 @@ static void otg_core_reset(USBDriver *usbp) { while ((otgp->GRSTCTL & GRSTCTL_CSRST) != 0) ; - osalSysPolledDelayX(12); + osalSysPolledDelayX(18); /* Wait AHB idle condition.*/ while ((otgp->GRSTCTL & GRSTCTL_AHBIDL) == 0) @@ -186,7 +186,7 @@ static void otg_rxfifo_flush(USBDriver *usbp) { while ((otgp->GRSTCTL & GRSTCTL_RXFFLSH) != 0) ; /* Wait for 3 PHY Clocks.*/ - osalSysPolledDelayX(12); + osalSysPolledDelayX(18); } static void otg_txfifo_flush(USBDriver *usbp, uint32_t fifo) { @@ -196,7 +196,7 @@ static void otg_txfifo_flush(USBDriver *usbp, uint32_t fifo) { while ((otgp->GRSTCTL & GRSTCTL_TXFFLSH) != 0) ; /* Wait for 3 PHY Clocks.*/ - osalSysPolledDelayX(12); + osalSysPolledDelayX(18); } /** -- cgit v1.2.3