aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/wdg.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/wdg.c')
-rw-r--r--os/hal/src/wdg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/wdg.c b/os/hal/src/wdg.c
index deb8e0ce9..949b0bb36 100644
--- a/os/hal/src/wdg.c
+++ b/os/hal/src/wdg.c
@@ -24,7 +24,7 @@
#include "hal.h"
-#if HAL_USE_WDG || defined(__DOXYGEN__)
+#if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
@@ -115,6 +115,6 @@ void wdgReset(WDGDriver *wdgp) {
osalSysUnlock();
}
-#endif /* HAL_USE_WDG */
+#endif /* HAL_USE_WDG == TRUE */
/** @} */