Fix low-power feature for STM32L0

This commit is contained in:
Christian Enderle 2023-09-15 15:13:52 +02:00
parent 7c77d2bd94
commit 45e9e51bdc

View File

@ -298,7 +298,7 @@ impl sealed::Instance for crate::peripherals::RTC {
crate::pac::PWR.cr().read();
}
#[cfg(any(rtc_v2f0))]
#[cfg(any(rtc_v2f0, rtc_v2l0))]
{
// enable peripheral clock for communication
crate::pac::RCC.apb1enr().modify(|w| w.set_pwren(true));