1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

fixing bool redeclaration errors and warnings

This commit is contained in:
ficeto
2015-05-07 12:04:02 +03:00
parent 56e437b576
commit 0018e30823

View File

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