Skip to content

Commit

Permalink
Install timeout when during setup of watchdog
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Kristian Dyrholm Torp <kdt@polytech.com>
  • Loading branch information
KarlKTorp committed Nov 26, 2024
1 parent 442f5a4 commit c1af91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/zephyr/include/mcuboot_config/mcuboot_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@
const struct device* wdt = \
DEVICE_DT_GET(DT_ALIAS(watchdog0)); \
if (device_is_ready(wdt)) { \
MCUBOOT_WATCHDOG_INSTALL_TIMEOUT(); \
wdt_setup(wdt, 0); \
} \
} while (0)
Expand All @@ -401,7 +402,6 @@
const struct device* wdt = \
DEVICE_DT_GET(DT_ALIAS(watchdog0)); \
if (device_is_ready(wdt)) { \
MCUBOOT_WATCHDOG_INSTALL_TIMEOUT(); \
wdt_feed(wdt, 0); \
} \
} while (0)
Expand Down

0 comments on commit c1af91c

Please sign in to comment.