Open ahmadrugby opened 5 years ago
Hi, take a look: https://github.com/FastLED/FastLED/issues/790
"Official" fix committed below; in the meantime if you need to you're welcome to do your own local work-around by opening arduino/libraries/FastLED/platforms/esp/8266/led_sysdefs_esp8266.h and deleting line 15, the one that says typedef uint8_t boolean;.
error message Arduino: 1.8.5 (Windows 8.1), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from sketch\led_sysdefs.h:43:0,
C:\Users\rugby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1\cores\esp8266/Arduino.h:191:14: error: conflicting declaration 'typedef bool boolean'
typedef bool boolean;
In file included from sketch\led_sysdefs.h:27:0,
sketch\platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'
typedef uint8_t boolean;
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:8:0,
sketch\platforms/esp/8266/clockless_esp8266.h:11:21: note: #pragma message: Using RGBW controller as per FASTLED_RGBW define
pragma message "Using RGBW controller as per FASTLED_RGBW define"
exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module).