diff options
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/crc.c | 2 | ||||
-rw-r--r-- | os/hal/src/eicu.c | 2 | ||||
-rw-r--r-- | os/hal/src/hal_community.c | 2 | ||||
-rw-r--r-- | os/hal/src/nand.c | 2 | ||||
-rw-r--r-- | os/hal/src/onewire.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/src/crc.c b/os/hal/src/crc.c index e8c2d0b..63799e4 100644 --- a/os/hal/src/crc.c +++ b/os/hal/src/crc.c @@ -19,7 +19,7 @@ */ #include "hal.h" -#if HAL_USE_CRC || defined(__DOXYGEN__) +#if (HAL_USE_CRC == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver local definitions. */ diff --git a/os/hal/src/eicu.c b/os/hal/src/eicu.c index 102b346..f75c58b 100644 --- a/os/hal/src/eicu.c +++ b/os/hal/src/eicu.c @@ -27,7 +27,7 @@ */ #include "hal.h" -#if HAL_USE_EICU || defined(__DOXYGEN__) +#if (HAL_USE_EICU == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver local definitions. */ diff --git a/os/hal/src/hal_community.c b/os/hal/src/hal_community.c index b9700ba..a24d26e 100644 --- a/os/hal/src/hal_community.c +++ b/os/hal/src/hal_community.c @@ -24,7 +24,7 @@ #include "hal.h"
-#if HAL_USE_COMMUNITY || defined(__DOXYGEN__)
+#if (HAL_USE_COMMUNITY == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
diff --git a/os/hal/src/nand.c b/os/hal/src/nand.c index a621604..24dd6de 100644 --- a/os/hal/src/nand.c +++ b/os/hal/src/nand.c @@ -24,7 +24,7 @@ #include "hal.h" -#if HAL_USE_NAND || defined(__DOXYGEN__) +#if (HAL_USE_NAND == TRUE) || defined(__DOXYGEN__) #include "string.h" /* for memset */ diff --git a/os/hal/src/onewire.c b/os/hal/src/onewire.c index 958c9fc..d11196c 100644 --- a/os/hal/src/onewire.c +++ b/os/hal/src/onewire.c @@ -55,7 +55,7 @@ on every timer overflow event. #include "hal.h" -#if HAL_USE_ONEWIRE || defined(__DOXYGEN__) +#if (HAL_USE_ONEWIRE == TRUE) || defined(__DOXYGEN__) #include <string.h> |