mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
fixing bool redeclaration errors and warnings
This commit is contained in:
@ -76,10 +76,7 @@ typedef enum {
|
|||||||
#endif /* ICACHE_FLASH */
|
#endif /* ICACHE_FLASH */
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
typedef unsigned char bool;
|
|
||||||
#define BOOL bool
|
#define BOOL bool
|
||||||
#define true (1)
|
|
||||||
#define false (0)
|
|
||||||
#define TRUE true
|
#define TRUE true
|
||||||
#define FALSE false
|
#define FALSE false
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user