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 authored and 0xc0170 committed May 11, 2020
1 parent 08ab8cc commit dd21ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtos/source/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 dd21ea0

Please sign in to comment.