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:
Adrian Scillato 2018-12-03 17:38:31 -03:00 committed by GitHub
parent fd8af87c80
commit 24ef9ab6b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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