Merge pull request #2597 from fe1es/stm32l0-reset-rtc

stm32/rcc: reset RTC on stm32l0
This commit is contained in:
Dario Nieuwenhuis 2024-02-23 00:50:09 +00:00 committed by GitHub
commit 840a9a9ce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,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));