stm32/rcc: reset RTC on stm32l0

This commit is contained in:
fe1es 2024-02-19 15:25:24 +09:00
parent 69bfcaad42
commit 5b7e2d8826

View File

@ -206,7 +206,7 @@ impl LsConfig {
bdcr().modify(|w| w.set_vswrst(true));
bdcr().modify(|w| w.set_vswrst(false));
}
#[cfg(any(stm32c0))]
#[cfg(any(stm32c0, stm32l0))]
{
bdcr().modify(|w| w.set_rtcrst(true));
bdcr().modify(|w| w.set_rtcrst(false));