This commit is contained in:
Blaž Kristan
2024-10-07 17:15:35 +02:00
parent 407477dc68
commit 5e9a46d54d
3 changed files with 2 additions and 5 deletions

View File

@@ -465,7 +465,6 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
ps = presetCycCurr;
if (root["win"].isNull() && getVal(root["ps"], &ps, 0, 0) && ps > 0 && ps < 251 && ps != currentPreset) {
// b) preset ID only or preset that does not change state (use embedded cycling limits if they exist in getVal())
presetCycCurr = ps;
applyPreset(ps, callMode); // async load from file system (only preset ID was specified)
return stateResponse;
}