aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rtc/v2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/rtc/v2.rs b/embassy-stm32/src/rtc/v2.rs
index 1fa9f2fe3..726886f10 100644
--- a/embassy-stm32/src/rtc/v2.rs
+++ b/embassy-stm32/src/rtc/v2.rs
@@ -298,7 +298,7 @@ impl sealed::Instance for crate::peripherals::RTC {
298 crate::pac::PWR.cr().read(); 298 crate::pac::PWR.cr().read();
299 } 299 }
300 300
301 #[cfg(any(rtc_v2f0))] 301 #[cfg(any(rtc_v2f0, rtc_v2l0))]
302 { 302 {
303 // enable peripheral clock for communication 303 // enable peripheral clock for communication
304 crate::pac::RCC.apb1enr().modify(|w| w.set_pwren(true)); 304 crate::pac::RCC.apb1enr().modify(|w| w.set_pwren(true));