diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-04-29 20:52:27 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-04-29 20:52:27 +0200 |
| commit | 6f44d7a9dfbb1dfe503c978e2277cfc5b1b6d486 (patch) | |
| tree | 0850613ec1eef6397d853c8b04a1ae86c12f9d8a /embassy-stm32/src/eth/v2/mod.rs | |
| parent | 679160a1c573709ccf2c54755e69ea9e1b5a209e (diff) | |
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
Diffstat (limited to 'embassy-stm32/src/eth/v2/mod.rs')
| -rw-r--r-- | embassy-stm32/src/eth/v2/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/embassy-stm32/src/eth/v2/mod.rs b/embassy-stm32/src/eth/v2/mod.rs index c6e015022..37f460574 100644 --- a/embassy-stm32/src/eth/v2/mod.rs +++ b/embassy-stm32/src/eth/v2/mod.rs | |||
| @@ -94,8 +94,6 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> { | |||
| 94 | 94 | ||
| 95 | #[cfg(rcc_h5)] | 95 | #[cfg(rcc_h5)] |
| 96 | critical_section::with(|_| { | 96 | critical_section::with(|_| { |
| 97 | crate::pac::RCC.apb3enr().modify(|w| w.set_sbsen(true)); | ||
| 98 | |||
| 99 | crate::pac::RCC.ahb1enr().modify(|w| { | 97 | crate::pac::RCC.ahb1enr().modify(|w| { |
| 100 | w.set_ethen(true); | 98 | w.set_ethen(true); |
| 101 | w.set_ethtxen(true); | 99 | w.set_ethtxen(true); |
| @@ -161,8 +159,6 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> { | |||
| 161 | 159 | ||
| 162 | #[cfg(rcc_h5)] | 160 | #[cfg(rcc_h5)] |
| 163 | critical_section::with(|_| { | 161 | critical_section::with(|_| { |
| 164 | crate::pac::RCC.apb3enr().modify(|w| w.set_sbsen(true)); | ||
| 165 | |||
| 166 | crate::pac::RCC.ahb1enr().modify(|w| { | 162 | crate::pac::RCC.ahb1enr().modify(|w| { |
| 167 | w.set_ethen(true); | 163 | w.set_ethen(true); |
| 168 | w.set_ethtxen(true); | 164 | w.set_ethtxen(true); |
