Commit 73d69e9b authored by Fabio Utzig's avatar Fabio Utzig Committed by Andrzej Puzdrowski
Browse files

boot: zephyr: fix watchdog device typos



Fix typos for IWDG and watchdog0 alias feeding paths.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 4b90dfcf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@
        const struct device* wdt =                                  \
            DEVICE_DT_GET_OR_NULL(DT_INST(0, st_stm32_watchdog));   \
        if (device_is_ready(wdt)) {                                 \
            wdt_feed(wtd, 0);                                       \
            wdt_feed(wdt, 0);                                       \
        }                                                           \
    } while (0)

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