Fixed ledstrip compiling
This commit is contained in:
@ -10,6 +10,12 @@
|
|||||||
// local includes
|
// local includes
|
||||||
#include "ledstripdefines.h"
|
#include "ledstripdefines.h"
|
||||||
|
|
||||||
|
#define OtaAnimationModesValues(x) \
|
||||||
|
x(None) \
|
||||||
|
x(GreenProgressBar) \
|
||||||
|
x(ColorChangeAll)
|
||||||
|
DECLARE_TYPESAFE_ENUM(OtaAnimationModes, : uint8_t, OtaAnimationModesValues)
|
||||||
|
|
||||||
#ifdef FEATURE_LEDSTRIP
|
#ifdef FEATURE_LEDSTRIP
|
||||||
enum Bobbycar_Side
|
enum Bobbycar_Side
|
||||||
{
|
{
|
||||||
@ -23,12 +29,6 @@ enum Bobbycar_Side
|
|||||||
FRONT
|
FRONT
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OtaAnimationModesValues(x) \
|
|
||||||
x(None) \
|
|
||||||
x(GreenProgressBar) \
|
|
||||||
x(ColorChangeAll)
|
|
||||||
DECLARE_TYPESAFE_ENUM(OtaAnimationModes, : uint8_t, OtaAnimationModesValues)
|
|
||||||
|
|
||||||
extern std::vector<CRGB> leds;
|
extern std::vector<CRGB> leds;
|
||||||
extern uint8_t gHue;
|
extern uint8_t gHue;
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ public:
|
|||||||
struct {
|
struct {
|
||||||
ConfigWrapper<bool> enableLedAnimation {true, DoReset, {}, "enableLedAnimat" };
|
ConfigWrapper<bool> enableLedAnimation {true, DoReset, {}, "enableLedAnimat" };
|
||||||
ConfigWrapper<bool> enableBrakeLights {true, DoReset, {}, "enableBrakeLigh" };
|
ConfigWrapper<bool> enableBrakeLights {true, DoReset, {}, "enableBrakeLigh" };
|
||||||
ConfigWrapper<int16_t> ledsCount {LEDSTRIP_LENGTH, DoReset, {}, "ledsCount" };
|
ConfigWrapper<int16_t> ledsCount {288, DoReset, {}, "ledsCount" };
|
||||||
ConfigWrapper<int16_t> centerOffset {1, DoReset, {}, "centerOffset" };
|
ConfigWrapper<int16_t> centerOffset {1, DoReset, {}, "centerOffset" };
|
||||||
ConfigWrapper<int16_t> smallOffset {4, DoReset, {}, "smallOffset" };
|
ConfigWrapper<int16_t> smallOffset {4, DoReset, {}, "smallOffset" };
|
||||||
ConfigWrapper<int16_t> bigOffset {10, DoReset, {}, "bigOffset" };
|
ConfigWrapper<int16_t> bigOffset {10, DoReset, {}, "bigOffset" };
|
||||||
|
Reference in New Issue
Block a user