mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-26 00:32:33 +00:00
stm32/rcc: reset RTC on stm32l0
This commit is contained in:
parent
69bfcaad42
commit
5b7e2d8826
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user