subsys/portability/CMSIS: Do not redefine TRUE & FALSE
These macros tend to be defined by too many headers. Let's guard these definition with ifdefs to avoid redefining them to practically the same. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
8686c69118
commit
e34f29f9ea
1 changed files with 4 additions and 0 deletions
|
|
@ -10,8 +10,12 @@
|
|||
#include <zephyr/kernel.h>
|
||||
#include <cmsis_os2.h>
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
struct cv2_thread {
|
||||
sys_dnode_t node;
|
||||
|
|
|
|||
Loading…
Reference in a new issue