From 43c0f6e374300b92487e972fc650995ce105a5fe Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Tue, 18 Jan 2022 08:41:54 +0100 Subject: [PATCH] Added ledsPerMeter; Forgot to add custom colors --- main/newsettings.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/main/newsettings.h b/main/newsettings.h index b1e3f57..7d452ba 100644 --- a/main/newsettings.h +++ b/main/newsettings.h @@ -260,6 +260,7 @@ public: ConfigWrapper {0, DoReset, {}, "ledCustomCol7" }, ConfigWrapper {0, DoReset, {}, "ledCustomCol8" }, }; + ConfigWrapper 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) \