aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/watchdog.c')
-rw-r--r--src/stm32f4/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f4/watchdog.c b/src/stm32f4/watchdog.c
index 1f642616..2851560a 100644
--- a/src/stm32f4/watchdog.c
+++ b/src/stm32f4/watchdog.c
@@ -19,7 +19,7 @@ watchdog_init(void)
{
IWDG->KR = 0x5555;
IWDG->PR = 0;
- IWDG->RLR = 0x0FFF; // 512ms timeout
+ IWDG->RLR = 0x0FFF; // 410-512ms timeout (depending on stm32 chip)
IWDG->KR = 0xCCCC;
}
DECL_INIT(watchdog_init);