Added ledsPerMeter; Forgot to add custom colors

This commit is contained in:
CommanderRedYT
2022-01-18 08:41:54 +01:00
parent 65308be33d
commit 43c0f6e374

View File

@ -260,6 +260,7 @@ public:
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol7" },
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol8" },
};
ConfigWrapper<uint8_t> leds_per_meter {144, DoReset, {}, "ledsPerMeter" };
} ledstrip;
struct {
@ -561,6 +562,17 @@ public:
x(ledstrip.maxMilliamps) \
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.cellsParallel) \
x(battery.cellType) \