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