closes Aircoookie/WLED#984
Implements option to show clock overlay only if all LEDs are solid black
This commit is contained in:
@@ -507,6 +507,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
|
||||
CJSON(analogClock12pixel, ol[F("o12pix")]);
|
||||
CJSON(analogClock5MinuteMarks, ol[F("o5m")]);
|
||||
CJSON(analogClockSecondsTrail, ol[F("osec")]);
|
||||
CJSON(analogClockSolidBlack, ol[F("osb")]);
|
||||
|
||||
//timed macro rules
|
||||
JsonObject tm = doc[F("timers")];
|
||||
@@ -973,6 +974,7 @@ void serializeConfig() {
|
||||
ol[F("o12pix")] = analogClock12pixel;
|
||||
ol[F("o5m")] = analogClock5MinuteMarks;
|
||||
ol[F("osec")] = analogClockSecondsTrail;
|
||||
ol[F("osb")] = analogClockSolidBlack;
|
||||
|
||||
JsonObject timers = root.createNestedObject(F("timers"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user