Merge pull request #2597 from fe1es/stm32l0-reset-rtc
stm32/rcc: reset RTC on stm32l0
This commit is contained in:
commit
840a9a9ce7
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue