aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2016-01-24 20:42:00 +0300
committerbarthess <barthess@yandex.ru>2016-01-24 20:42:00 +0300
commit2bc5a485a970f2ea1a3c7d7b853c6b877fea9a83 (patch)
tree2918fd57c5907a1444cddcded16253b7f91f7af8 /os/hal/src
parent956134d0bae1f34088b222c63d22e3ae7c9ad4cf (diff)
parent2c7dc44fad1de5ff9ce449aeaf2ff94784d7807f (diff)
downloadChibiOS-Contrib-2bc5a485a970f2ea1a3c7d7b853c6b877fea9a83.tar.gz
ChibiOS-Contrib-2bc5a485a970f2ea1a3c7d7b853c6b877fea9a83.tar.bz2
ChibiOS-Contrib-2bc5a485a970f2ea1a3c7d7b853c6b877fea9a83.zip
Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/crc.c2
-rw-r--r--os/hal/src/eicu.c2
-rw-r--r--os/hal/src/hal_community.c2
-rw-r--r--os/hal/src/nand.c2
-rw-r--r--os/hal/src/onewire.c2
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>