git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8538 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
Giovanni Di Sirio 2015-11-28 10:20:34 +00:00
parent db0b9dbf0b
commit 03f609e27c
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
/**