diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-07-28 14:40:41 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-08-05 11:25:40 -0400 |
commit | 7efc53ff59111061908405dae889a38cc6e60dbb (patch) | |
tree | d9034e66fb34629203fb278b381af8af8ebf980c /src/stm32f4/watchdog.c | |
parent | 485164b8b3fcb973a8766264e1c1e9e190ea80af (diff) | |
download | kutter-7efc53ff59111061908405dae889a38cc6e60dbb.tar.gz kutter-7efc53ff59111061908405dae889a38cc6e60dbb.tar.xz kutter-7efc53ff59111061908405dae889a38cc6e60dbb.zip |
stm32f4: Add support for STM32F103
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f4/watchdog.c')
-rw-r--r-- | src/stm32f4/watchdog.c | 2 |
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); |