summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/watchdog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/watchdog.h b/src/include/watchdog.h
index d6267375f5..b94cd4dcd0 100644
--- a/src/include/watchdog.h
+++ b/src/include/watchdog.h
@@ -4,7 +4,7 @@
#if CONFIG_USE_WATCHDOG_ON_BOOT
void watchdog_off(void);
#else
-#define watchdog_off()
+#define watchdog_off() while(0) {}
#endif
#endif /* WATCHDOG_H */