stm32: update stm32-metapac.
This commit is contained in:
@ -16,10 +16,10 @@ async fn main(_spawner: Spawner) {
|
||||
let mut wdg = IndependentWatchdog::new(p.IWDG, 20_000_00);
|
||||
|
||||
info!("Watchdog start");
|
||||
unsafe { wdg.unleash() };
|
||||
wdg.unleash();
|
||||
|
||||
loop {
|
||||
Timer::after(Duration::from_secs(1)).await;
|
||||
unsafe { wdg.pet() };
|
||||
wdg.pet();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user