stm32/eth: make "ethmac" vs "eth" consistent in RCC regs.

This commit is contained in:
Dario Nieuwenhuis 2022-04-28 01:56:25 +02:00
parent bb2db2b7be
commit 804b20c5af

View File

@ -117,9 +117,9 @@ impl<'d, T: Instance, P: PHY, const TX: usize, const RX: usize> Ethernet<'d, T,
AFIO.mapr().modify(|w| w.set_mii_rmii_sel(true));
RCC.ahbenr().modify(|w| {
w.set_ethmacen(true);
w.set_ethmactxen(true);
w.set_ethmacrxen(true);
w.set_ethen(true);
w.set_ethtxen(true);
w.set_ethrxen(true);
});
});