Skip to content
Commit 6b272e20 authored by Jerzy Kasenberg's avatar Jerzy Kasenberg Committed by Fabio Utzig
Browse files

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: default avatarJerzy Kasenberg <jerzy@apache.org>
parent 572b8fb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment