mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-21 14:57:00 +08:00
feat(esp8266): Remove the define of BOOL/TRUE/FALSE
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user