diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-02-23 00:50:09 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-23 00:50:09 +0000 |
| commit | 840a9a9ce7eaba61f4c3aceee1deb87271ea3421 (patch) | |
| tree | 14124a6f34d351a979cb110a0ce566b588f5d272 | |
| parent | 2855bb69680a42a721fe88168657ea1e634e8766 (diff) | |
| parent | a6a5d9913cda2ecfe89b63fa0bcf7afaebc2dac0 (diff) | |
Merge pull request #2597 from fe1es/stm32l0-reset-rtc
stm32/rcc: reset RTC on stm32l0
| -rw-r--r-- | embassy-stm32/src/rcc/bd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/rcc/bd.rs b/embassy-stm32/src/rcc/bd.rs index cb10a9a3f..39407b28c 100644 --- a/embassy-stm32/src/rcc/bd.rs +++ b/embassy-stm32/src/rcc/bd.rs | |||
| @@ -213,7 +213,7 @@ impl LsConfig { | |||
| 213 | // bdcr().modify(|w| w.set_vswrst(true)); | 213 | // bdcr().modify(|w| w.set_vswrst(true)); |
| 214 | // bdcr().modify(|w| w.set_vswrst(false)); | 214 | // bdcr().modify(|w| w.set_vswrst(false)); |
| 215 | //} | 215 | //} |
| 216 | #[cfg(any(stm32c0))] | 216 | #[cfg(any(stm32c0, stm32l0))] |
| 217 | { | 217 | { |
| 218 | bdcr().modify(|w| w.set_rtcrst(true)); | 218 | bdcr().modify(|w| w.set_rtcrst(true)); |
| 219 | bdcr().modify(|w| w.set_rtcrst(false)); | 219 | bdcr().modify(|w| w.set_rtcrst(false)); |
