feat(esp8266): Remove the define of BOOL/TRUE/FALSE

This commit is contained in:
Wu Jian Gang
2018-05-24 15:35:07 +08:00
parent f1d2152991
commit d230288823

View File

@ -84,12 +84,6 @@ typedef enum {
#define REG_SET_BIT(_r, _b) (*(volatile uint32 *)(_r) |= (_b)) #define REG_SET_BIT(_r, _b) (*(volatile uint32 *)(_r) |= (_b))
#define REG_CLR_BIT(_r, _b) (*(volatile uint32 *)(_r) &= ~(_b)) #define REG_CLR_BIT(_r, _b) (*(volatile uint32 *)(_r) &= ~(_b))
#ifndef __cplusplus
#define BOOL bool
#define TRUE true
#define FALSE false
#endif /* !__cplusplus */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif