Update wdt.rs: reverted changes, probably unneccesary

This commit is contained in:
pkoevesdi 2024-04-29 22:42:46 +02:00 committed by GitHub
parent 5df703cf4b
commit a2ea307114
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }
} }