Merge pull request #1908 from chrenderle/low-power-l0

Fix low-power feature for STM32L0
This commit is contained in:
xoviat 2023-09-15 14:50:19 +00:00 committed by GitHub
commit c091ed2f63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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