Fix loading transitionDelay on boot

pull/2899/head
Blaz Kristan 2022-11-20 19:40:54 +01:00
rodzic 1b351b7743
commit 0a1bd748d7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -318,7 +318,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
JsonObject light_tr = light["tr"];
CJSON(fadeTransition, light_tr["mode"]);
int tdd = light_tr["dur"] | -1;
if (tdd >= 0) transitionDelayDefault = tdd * 100;
if (tdd >= 0) transitionDelay = transitionDelayDefault = tdd * 100;
CJSON(strip.paletteFade, light_tr["pal"]);
JsonObject light_nl = light["nl"];