aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/MACv1/mac_lld.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-26 13:16:24 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-26 13:16:24 +0000
commitae70b0edcea8b466894e140839371fb122a4aa92 (patch)
tree4c0031bf1e4afddba7d9479ebd055d7a6d16ae64 /os/hal/ports/STM32/LLD/MACv1/mac_lld.c
parent672c4381f55bb8d7fd7ff902dae116c5b9b72373 (diff)
downloadChibiOS-ae70b0edcea8b466894e140839371fb122a4aa92.tar.gz
ChibiOS-ae70b0edcea8b466894e140839371fb122a4aa92.tar.bz2
ChibiOS-ae70b0edcea8b466894e140839371fb122a4aa92.zip
Fixed bug #686.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8647 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/MACv1/mac_lld.c')
-rw-r--r--os/hal/ports/STM32/LLD/MACv1/mac_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/MACv1/mac_lld.c b/os/hal/ports/STM32/LLD/MACv1/mac_lld.c
index de3fdba54..7863210bc 100644
--- a/os/hal/ports/STM32/LLD/MACv1/mac_lld.c
+++ b/os/hal/ports/STM32/LLD/MACv1/mac_lld.c
@@ -266,7 +266,7 @@ void mac_lld_init(void) {
/* PHY soft reset procedure.*/
mii_write(&ETHD1, MII_BMCR, BMCR_RESET);
#if defined(BOARD_PHY_RESET_DELAY)
- chSysPolledDelayX(BOARD_PHY_RESET_DELAY);
+ osalSysPolledDelayX(BOARD_PHY_RESET_DELAY);
#endif
while (mii_read(&ETHD1, MII_BMCR) & BMCR_RESET)
;