kopia lustrzana https://github.com/Aircoookie/WLED
Update json.cpp
adds support for np boolean parameter to skip to next presetpull/3946/head
rodzic
3b89814b69
commit
a1d6ffadad
|
@ -486,7 +486,11 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
|
|||
strip.loadCustomPalettes();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (root.containsKey(F("np")) && root[F("np")].as<bool>()) { //skip to next preset in a playlist
|
||||
handlePlaylist(true);
|
||||
}
|
||||
|
||||
JsonObject wifi = root[F("wifi")];
|
||||
if (!wifi.isNull()) {
|
||||
bool apMode = getBoolVal(wifi[F("ap")], apActive);
|
||||
|
|
Ładowanie…
Reference in New Issue