Skip to content

Commit

Permalink
Fix loading transitionDelay on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Nov 20, 2022
1 parent 1b351b7 commit 0a1bd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/cfg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit 0a1bd74

Please sign in to comment.