mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
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);
|
||||
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…
Reference in New Issue
Block a user