diff options
Diffstat (limited to 'os/hal/ports/STM32/LLD/MACv1')
-rw-r--r-- | os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c index d305af56e..d19123998 100644 --- a/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c +++ b/os/hal/ports/STM32/LLD/MACv1/hal_mac_lld.c @@ -267,7 +267,7 @@ void mac_lld_init(void) { rccResetETH();
/* MAC clocks temporary activation.*/
- rccEnableETH(false);
+ rccEnableETH(true);
/* PHY address setup.*/
#if defined(BOARD_PHY_ADDRESS)
@@ -317,7 +317,7 @@ void mac_lld_start(MACDriver *macp) { macp->txptr = (stm32_eth_tx_descriptor_t *)__eth_td;
/* MAC clocks activation and commanded reset procedure.*/
- rccEnableETH(false);
+ rccEnableETH(true);
#if defined(STM32_MAC_DMABMR_SR)
ETH->DMABMR |= ETH_DMABMR_SR;
while(ETH->DMABMR & ETH_DMABMR_SR)
|