diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-28 10:20:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-28 10:20:34 +0000 |
commit | 03f609e27c2dca200fce5b42f3a3467570e718bd (patch) | |
tree | 85b626dc731fa81dd94abbd9f4137cf2886868b9 /os/hal | |
parent | db0b9dbf0bcce6b53647bd3bd25ff88e45794f16 (diff) | |
download | ChibiOS-03f609e27c2dca200fce5b42f3a3467570e718bd.tar.gz ChibiOS-03f609e27c2dca200fce5b42f3a3467570e718bd.tar.bz2 ChibiOS-03f609e27c2dca200fce5b42f3a3467570e718bd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8538 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/STM32/LLD/OTGv1/usb_lld.c | 6 |
1 files changed, 3 insertions, 3 deletions
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);
}
/**
|