Skip to content

Commit

Permalink
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
Browse files Browse the repository at this point in the history
  • Loading branch information
bulislaw committed May 14, 2018
1 parent a1fb51c commit 1752803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

#include <stdbool.h>
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
Expand Down

0 comments on commit 1752803

Please sign in to comment.