summaryrefslogtreecommitdiff
path: root/src/include/watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/watchdog.h')
-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 8514158ded..375563d5b5 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() while (0) {}
+#define watchdog_off() { while (0); }
#endif
#endif /* WATCHDOG_H */