stm32/rcc: reset RTC on stm32l0
This commit is contained in:
parent
69bfcaad42
commit
5b7e2d8826
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,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…
Add table
Add a link
Reference in a new issue