kopia lustrzana https://github.com/Aircoookie/WLED
Fix loading transitionDelay on boot
rodzic
1b351b7743
commit
0a1bd748d7
|
@ -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"];
|
||||
|
|
Ładowanie…
Reference in New Issue