Merge pull request #2597 from fe1es/stm32l0-reset-rtc
stm32/rcc: reset RTC on stm32l0
This commit is contained in:
commit
840a9a9ce7
@ -213,7 +213,7 @@ impl LsConfig {
|
|||||||
// bdcr().modify(|w| w.set_vswrst(true));
|
// bdcr().modify(|w| w.set_vswrst(true));
|
||||||
// bdcr().modify(|w| w.set_vswrst(false));
|
// 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(true));
|
||||||
bdcr().modify(|w| w.set_rtcrst(false));
|
bdcr().modify(|w| w.set_rtcrst(false));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user