From f7dc7e92c85a922e8e9a4fc005fdb3134cda8cfc Mon Sep 17 00:00:00 2001 From: Bartek Szatkowski Date: Mon, 30 Apr 2018 12:31:25 +0100 Subject: [PATCH] CMSIS/RTX: Fix using FALSE/TRUE with preprocesor (cherry picked from commit dd21ea0ae0559f148d3ff5b1a1937f9d7e0e1138) --- rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h b/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h index 9bd0c88674..94ee5ba7ec 100644 --- a/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h +++ b/rtos/source/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h @@ -35,11 +35,11 @@ typedef bool bool_t; #ifndef FALSE -#define FALSE ((bool_t)0) +#define FALSE (0) #endif #ifndef TRUE -#define TRUE ((bool_t)1) +#define TRUE (1) #endif #ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS