From 689f33304dc2637ebef625c86ba4ba9ee901da09 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 14 Mar 2019 22:01:01 +0100 Subject: [PATCH] main: lower watchdog timeout to 1s --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 664e536..8b6e625 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,7 @@ fn main() -> ! { .freeze(); let mut wd = IndependentWatchdog::new(dp.IWDG); - wd.start(8000u32.ms()); + wd.start(1000u32.ms()); wd.feed(); let gpioa = dp.GPIOA.split();