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:
Alberto Escolar Piedras 2024-06-10 14:22:25 +02:00 committed by Johan Hedberg
parent 8686c69118
commit e34f29f9ea

View file

@ -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;