Skip to content

Commit 379f181

Browse files
Further simplification
1 parent dd19aa6 commit 379f181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎wled00/json.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
487487
}
488488
}
489489

490-
doAdvancePlaylist = root[F("np")].as<bool>() || doAdvancePlaylist; //advances to next preset in playlist when true
490+
doAdvancePlaylist = root[F("np")] | doAdvancePlaylist; //advances to next preset in playlist when true
491491

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

0 commit comments

Comments
 (0)