forked from M-Labs/thermostat
main: lower watchdog timeout to 1s
This commit is contained in:
parent
1f80b456f3
commit
689f33304d
|
@ -75,7 +75,7 @@ fn main() -> ! {
|
||||||
.freeze();
|
.freeze();
|
||||||
|
|
||||||
let mut wd = IndependentWatchdog::new(dp.IWDG);
|
let mut wd = IndependentWatchdog::new(dp.IWDG);
|
||||||
wd.start(8000u32.ms());
|
wd.start(1000u32.ms());
|
||||||
wd.feed();
|
wd.feed();
|
||||||
|
|
||||||
let gpioa = dp.GPIOA.split();
|
let gpioa = dp.GPIOA.split();
|
||||||
|
|
Loading…
Reference in New Issue