From c757be0c16fb68bab56294b46f1de15e39abfcdb Mon Sep 17 00:00:00 2001 From: barthess Date: Wed, 14 Oct 2015 17:52:47 +0300 Subject: Fixed typo --- os/hal/include/crc.h | 2 +- os/hal/ports/STM32/LLD/CRCv1/crc_lld.c | 2 +- os/hal/ports/STM32/LLD/CRCv1/crc_lld.h | 2 +- os/hal/ports/STM32/LLD/TIMv1/eicu_lld.c | 2 +- os/hal/ports/STM32/LLD/TIMv1/eicu_lld.h | 2 +- os/hal/src/crc.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'os/hal') diff --git a/os/hal/include/crc.h b/os/hal/include/crc.h index 2f50f8f..afa27e1 100644 --- a/os/hal/include/crc.h +++ b/os/hal/include/crc.h @@ -17,7 +17,7 @@ #ifndef _CRC_H_ #define _CRC_H_ -#if HAL_USE_CRC || defined(__DOXYGEN__) +#if (HAL_USE_CRC == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver constants. */ diff --git a/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c b/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c index aaa52e9..601deca 100644 --- a/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c +++ b/os/hal/ports/STM32/LLD/CRCv1/crc_lld.c @@ -24,7 +24,7 @@ #include "hal.h" -#if (HAL_USE_CRC = TRUE) || defined(__DOXYGEN__) +#if (HAL_USE_CRC == TRUE) || defined(__DOXYGEN__) /** * Allow CRC Software override for ST drivers. Some ST CRC implimentations diff --git a/os/hal/ports/STM32/LLD/CRCv1/crc_lld.h b/os/hal/ports/STM32/LLD/CRCv1/crc_lld.h index ec9904c..ecdaf81 100644 --- a/os/hal/ports/STM32/LLD/CRCv1/crc_lld.h +++ b/os/hal/ports/STM32/LLD/CRCv1/crc_lld.h @@ -25,7 +25,7 @@ #ifndef _CRC_LLD_H_ #define _CRC_LLD_H_ -#if (HAL_USE_CRC = TRUE) || defined(__DOXYGEN__) +#if (HAL_USE_CRC == TRUE) || defined(__DOXYGEN__) /* * This error check must occur outsite of CRCSW_USE_CRC1 to check if diff --git a/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.c b/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.c index 67c3fbe..c04278e 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.c +++ b/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.c @@ -31,7 +31,7 @@ */ #include "hal.h" -#if (HAL_USE_EICU = TRUE) || defined(__DOXYGEN__) +#if (HAL_USE_EICU == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver local definitions. */ diff --git a/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.h b/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.h index 8002342..927eb6f 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.h +++ b/os/hal/ports/STM32/LLD/TIMv1/eicu_lld.h @@ -27,7 +27,7 @@ #include "stm32_tim.h" -#if (HAL_USE_EICU = TRUE) || defined(__DOXYGEN__) +#if (HAL_USE_EICU == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver constants. */ diff --git a/os/hal/src/crc.c b/os/hal/src/crc.c index 8587674..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 = TRUE) || defined(__DOXYGEN__) +#if (HAL_USE_CRC == TRUE) || defined(__DOXYGEN__) /*===========================================================================*/ /* Driver local definitions. */ -- cgit v1.2.3