diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 237dd80dc..9979c81aa 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -98,7 +98,7 @@ //version code in format yymmddb (b = daily build) -#define VERSION 1912181 +#define VERSION 1912182 char versionString[] = "0.9.0-b1"; diff --git a/wled00/wled19_json.ino b/wled00/wled19_json.ino index 1c5e19eb4..3e135d406 100644 --- a/wled00/wled19_json.ino +++ b/wled00/wled19_json.ino @@ -88,8 +88,8 @@ bool deserializeState(JsonObject root) int ps = root["ps"] | -1; if (ps >= 0) applyPreset(ps); - int cy = root["pl"] | -1; - presetCyclingEnabled = (cy >= 0); + int cy = root["pl"] | -2; + if (cy > -2) presetCyclingEnabled = (cy >= 0); JsonObject ccnf = root["ccnf"]; presetCycleMin = ccnf["min"] | presetCycleMin; presetCycleMax = ccnf["max"] | presetCycleMax;