Skip to content

Commit b7efe36

Browse files
bulislawc1728p9
authored andcommitted
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
(cherry picked from commit 1752803)
1 parent 67b677d commit b7efe36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
#include <stdbool.h>
3535
typedef bool bool_t;
36-
#define FALSE ((bool_t)0)
37-
#define TRUE ((bool_t)1)
36+
#define FALSE (0)
37+
#define TRUE (1)
3838

3939
#ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS
4040
#define DOMAIN_NS 1

0 commit comments

Comments
 (0)