Added ledsPerMeter; Forgot to add custom colors
This commit is contained in:
@ -260,6 +260,7 @@ public:
|
|||||||
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol7" },
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol7" },
|
||||||
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol8" },
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol8" },
|
||||||
};
|
};
|
||||||
|
ConfigWrapper<uint8_t> leds_per_meter {144, DoReset, {}, "ledsPerMeter" };
|
||||||
} ledstrip;
|
} ledstrip;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
@ -561,6 +562,17 @@ public:
|
|||||||
x(ledstrip.maxMilliamps) \
|
x(ledstrip.maxMilliamps) \
|
||||||
x(ledstrip.enableVisualizeBlink) \
|
x(ledstrip.enableVisualizeBlink) \
|
||||||
\
|
\
|
||||||
|
x(ledstrip.custom_color[0]) \
|
||||||
|
x(ledstrip.custom_color[1]) \
|
||||||
|
x(ledstrip.custom_color[2]) \
|
||||||
|
x(ledstrip.custom_color[3]) \
|
||||||
|
x(ledstrip.custom_color[4]) \
|
||||||
|
x(ledstrip.custom_color[5]) \
|
||||||
|
x(ledstrip.custom_color[6]) \
|
||||||
|
x(ledstrip.custom_color[7]) \
|
||||||
|
\
|
||||||
|
x(ledstrip.leds_per_meter) \
|
||||||
|
\
|
||||||
x(battery.cellsSeries) \
|
x(battery.cellsSeries) \
|
||||||
x(battery.cellsParallel) \
|
x(battery.cellsParallel) \
|
||||||
x(battery.cellType) \
|
x(battery.cellType) \
|
||||||
|
Reference in New Issue
Block a user