Skip to content

Commit 73d69e9

Browse files
utzignvlsianpu
authored andcommitted
boot: zephyr: fix watchdog device typos
Fix typos for IWDG and watchdog0 alias feeding paths. Signed-off-by: Fabio Utzig <[email protected]>
1 parent 4b90dfc commit 73d69e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boot/zephyr/include/mcuboot_config/mcuboot_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
const struct device* wdt = \
277277
DEVICE_DT_GET_OR_NULL(DT_INST(0, st_stm32_watchdog)); \
278278
if (device_is_ready(wdt)) { \
279-
wdt_feed(wtd, 0); \
279+
wdt_feed(wdt, 0); \
280280
} \
281281
} while (0)
282282

@@ -289,7 +289,7 @@
289289
const struct device* wdt = \
290290
DEVICE_DT_GET(DT_ALIAS(watchdog0)); \
291291
if (device_is_ready(wdt)) { \
292-
wdt_feed(wtd, 0); \
292+
wdt_feed(wdt, 0); \
293293
} \
294294
} while (0)
295295
#else /* DT_NODE_HAS_STATUS(DT_ALIAS(watchdog0), okay) */

0 commit comments

Comments
 (0)