aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/pal.h')
-rw-r--r--os/hal/include/pal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/pal.h b/os/hal/include/pal.h
index e78ed3491..8a1477504 100644
--- a/os/hal/include/pal.h
+++ b/os/hal/include/pal.h
@@ -28,7 +28,7 @@
#ifndef _PAL_H_
#define _PAL_H_
-#if HAL_USE_PAL || defined(__DOXYGEN__)
+#if (HAL_USE_PAL == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@@ -549,6 +549,6 @@ extern "C" {
#endif /* _PAL_H_ */
-#endif /* HAL_USE_PAL */
+#endif /* HAL_USE_PAL == TRUE */
/** @} */