Update wdt.rs: reverted changes, probably unneccesary
This commit is contained in:
parent
5df703cf4b
commit
a2ea307114
@ -18,7 +18,7 @@ async fn main(_spawner: Spawner) {
|
|||||||
let mut wdt = IndependentWatchdog::new(p.IWDG, 1_000_000);
|
let mut wdt = IndependentWatchdog::new(p.IWDG, 1_000_000);
|
||||||
wdt.unleash();
|
wdt.unleash();
|
||||||
|
|
||||||
let mut i:u8 = 0;
|
let mut i = 0;
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
info!("high");
|
info!("high");
|
||||||
@ -36,6 +36,6 @@ async fn main(_spawner: Spawner) {
|
|||||||
wdt.pet();
|
wdt.pet();
|
||||||
}
|
}
|
||||||
|
|
||||||
i = i.wrapping_add(1);
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user