Commit 6b272e2
mynewt: Start watchdog when enable by syscfg
Code implied that WATCHDOG_INTERVAL will enable watchdog
in bootloader however it never did hal_watchdog_init
sets up some watchdog data but for most mcu is does
not start watchdog.
Now hal_watchdog_enable() is called when WATCHDOG_INTERVAL
is set to non zero as git history suggested .
Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>1 parent 572b8fb commit 6b272e2
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
0 commit comments