diff options
| -rw-r--r-- | embassy-stm32/src/rcc/l4.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/rcc/l4.rs b/embassy-stm32/src/rcc/l4.rs index 237b7bc91..36c9eb2f5 100644 --- a/embassy-stm32/src/rcc/l4.rs +++ b/embassy-stm32/src/rcc/l4.rs | |||
| @@ -412,6 +412,7 @@ pub(crate) unsafe fn init(config: Config) { | |||
| 412 | match config.rtc_mux { | 412 | match config.rtc_mux { |
| 413 | RtcClockSource::LSE32 => { | 413 | RtcClockSource::LSE32 => { |
| 414 | // 1. Unlock the backup domain | 414 | // 1. Unlock the backup domain |
| 415 | RCC.apb1enr1().modify(|w| w.set_pwren(true)); | ||
| 415 | PWR.cr1().modify(|w| w.set_dbp(true)); | 416 | PWR.cr1().modify(|w| w.set_dbp(true)); |
| 416 | 417 | ||
| 417 | // 2. Setup the LSE | 418 | // 2. Setup the LSE |
