From dd21ea0ae0559f148d3ff5b1a1937f9d7e0e1138 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 --- 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 c4dea34b03..04eb86964f 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 @@ -33,8 +33,8 @@ #include typedef bool bool_t; -#define FALSE ((bool_t)0) -#define TRUE ((bool_t)1) +#define FALSE (0) +#define TRUE (1) #ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS #define DOMAIN_NS 1