diff --git a/osal/osal.h b/osal/osal.h index 6ff9eab..ed07c51 100644 --- a/osal/osal.h +++ b/osal/osal.h @@ -15,9 +15,13 @@ extern "C" #include /* General types */ -typedef uint8_t boolean; +#ifndef TRUE #define TRUE 1 +#endif +#ifndef FALSE #define FALSE 0 +#endif +typedef uint8_t boolean; typedef int8_t int8; typedef int16_t int16; typedef int32_t int32;