aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/eicu.h2
-rw-r--r--os/hal/include/nand.h2
-rw-r--r--os/hal/include/onewire.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/eicu.h b/os/hal/include/eicu.h
index a4fb342..d9e08de 100644
--- a/os/hal/include/eicu.h
+++ b/os/hal/include/eicu.h
@@ -25,7 +25,7 @@
#ifndef _EICU_H_
#define _EICU_H_
-#if HAL_USE_EICU || defined(__DOXYGEN__)
+#if (HAL_USE_EICU == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
diff --git a/os/hal/include/nand.h b/os/hal/include/nand.h
index a1d2f86..ffd5de7 100644
--- a/os/hal/include/nand.h
+++ b/os/hal/include/nand.h
@@ -25,7 +25,7 @@
#ifndef _NAND_H_
#define _NAND_H_
-#if HAL_USE_NAND || defined(__DOXYGEN__)
+#if (HAL_USE_NAND == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
diff --git a/os/hal/include/onewire.h b/os/hal/include/onewire.h
index a2760e6..fac0b54 100644
--- a/os/hal/include/onewire.h
+++ b/os/hal/include/onewire.h
@@ -25,7 +25,7 @@
#ifndef _ONEWIRE_H_
#define _ONEWIRE_H_
-#if HAL_USE_ONEWIRE || defined(__DOXYGEN__)
+#if (HAL_USE_ONEWIRE == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */