CMSIS/RTX: Fix using FALSE/TRUE with preprocesor

(cherry picked from commit dd21ea0ae0)
pull/12949/head
Bartek Szatkowski 2018-04-30 12:31:25 +01:00 committed by Martin Kojtal
parent 94d9406621
commit f7dc7e92c8
1 changed files with 2 additions and 2 deletions

View File

@ -35,11 +35,11 @@
typedef bool bool_t; typedef bool bool_t;
#ifndef FALSE #ifndef FALSE
#define FALSE ((bool_t)0) #define FALSE (0)
#endif #endif
#ifndef TRUE #ifndef TRUE
#define TRUE ((bool_t)1) #define TRUE (1)
#endif #endif
#ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS #ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS