mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Fix Compilation issue with STAGE Core
Now the Stage core has the the same STR macro defined in sonoff.h.
This commit is contained in:
parent
fd8af87c80
commit
24ef9ab6b8
@ -152,7 +152,9 @@ typedef unsigned long power_t; // Power (Relay) type
|
||||
#define tmax(a,b) ((a)>(b)?(a):(b))
|
||||
|
||||
#define STR_HELPER(x) #x
|
||||
#ifndef STR
|
||||
#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
|
||||
#define NEO_RGB 0 // Neopixel RGB leds
|
||||
|
Loading…
x
Reference in New Issue
Block a user