From 1752803626865147dca92f30a39cef8d04581736 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/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h b/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h index 25d00fd8f1e..f0b4dc19d8b 100644 --- a/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h +++ b/rtos/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