Skip to content

Commit

Permalink
Updated based on more feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
freakintoddles2 committed May 3, 2024
1 parent 5e38039 commit 6df3b41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wled00/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
}
}

if (root.containsKey(F("np"))) {
doAdvancePlaylist = root[F("np")].as<bool>(); //advances to next preset in playlist when true
}
doAdvancePlaylist = root["np"].as<bool>() || doAdvancePlaylist; //advances to next preset in playlist when true

JsonObject wifi = root[F("wifi")];
if (!wifi.isNull()) {
Expand Down

0 comments on commit 6df3b41

Please sign in to comment.