Commit e34f29f9 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Johan Hedberg
Browse files

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: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 8686c691
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;