Update json.cpp

reworked approach based on feedback
This commit is contained in:
freakintoddles2 2024-05-01 10:02:27 -07:00 committed by GitHub
parent 25fb878e54
commit caa4fe1ec4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -488,7 +488,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
} }
if (root.containsKey(F("np")) && root[F("np")].as<bool>()) { //skip to next preset in a playlist if (root.containsKey(F("np")) && root[F("np")].as<bool>()) { //skip to next preset in a playlist
handlePlaylist(true); doAdvancePlaylist = true;
} }
JsonObject wifi = root[F("wifi")]; JsonObject wifi = root[F("wifi")];