mirror of https://github.com/arendst/Tasmota.git
Merge pull request #4524 from ascillato/patch-1
Fix Compilation issue with STAGE Core
This commit is contained in:
commit
e1546b3fe6
|
@ -152,7 +152,9 @@ typedef unsigned long power_t; // Power (Relay) type
|
||||||
#define tmax(a,b) ((a)>(b)?(a):(b))
|
#define tmax(a,b) ((a)>(b)?(a):(b))
|
||||||
|
|
||||||
#define STR_HELPER(x) #x
|
#define STR_HELPER(x) #x
|
||||||
|
#ifndef STR
|
||||||
#define STR(x) STR_HELPER(x)
|
#define STR(x) STR_HELPER(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
//enum ws2812NeopixelbusFeature { NEO_RGB, NEO_GRB, NEO_BRG, NEO_RBG, NEO_3LED, NEO_RGBW, NEO_GRBW }; // Doesn't work
|
//enum ws2812NeopixelbusFeature { NEO_RGB, NEO_GRB, NEO_BRG, NEO_RBG, NEO_3LED, NEO_RGBW, NEO_GRBW }; // Doesn't work
|
||||||
#define NEO_RGB 0 // Neopixel RGB leds
|
#define NEO_RGB 0 // Neopixel RGB leds
|
||||||
|
|
Loading…
Reference in New Issue