Skip to content

Commit

Permalink
Forgot F[], added it
Browse files Browse the repository at this point in the history
  • Loading branch information
freakintoddles2 committed May 3, 2024
1 parent 6df3b41 commit dd19aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
}
}

doAdvancePlaylist = root["np"].as<bool>() || doAdvancePlaylist; //advances to next preset in playlist when true
doAdvancePlaylist = root[F("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 dd19aa6

Please sign in to comment.