diff --git a/wled00/cfg.cpp b/wled00/cfg.cpp index 8d77b6bb..b4aff9ff 100644 --- a/wled00/cfg.cpp +++ b/wled00/cfg.cpp @@ -225,7 +225,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) { CJSON(macroNl, light_nl["macro"]); JsonObject def = doc[F("def")]; - CJSON(bootPreset, def[F("ps")]); + CJSON(bootPreset, def["ps"]); CJSON(turnOnAtBoot, def["on"]); // true CJSON(briS, def["bri"]); // 128 @@ -611,7 +611,7 @@ void serializeConfig() { light_nl["macro"] = macroNl; JsonObject def = doc.createNestedObject("def"); - def[F("ps")] = bootPreset; + def["ps"] = bootPreset; def["on"] = turnOnAtBoot; def["bri"] = briS; diff --git a/wled00/data/style.css b/wled00/data/style.css index 074caba1..32f9ef3f 100644 --- a/wled00/data/style.css +++ b/wled00/data/style.css @@ -10,7 +10,7 @@ hr { border-color: #666; } a, a:hover { - color: #0af; + color: #28f; text-decoration: none; } button, .btn { diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 53cc2e6a..474b08c3 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -6,7 +6,7 @@ */ // Autogenerated from wled00/data/style.css, do not edit!! -const char PAGE_settingsCss[] PROGMEM = R"=====()====="; +const char PAGE_settingsCss[] PROGMEM = R"=====()====="; // Autogenerated from wled00/data/settings.htm, do not edit!! diff --git a/wled00/json.cpp b/wled00/json.cpp index 2ff1a08e..a4aeeeb1 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -454,7 +454,7 @@ void serializeState(JsonObject root, bool forPreset, bool includeBri, bool segme if (!forPreset) { if (errorFlag) {root[F("error")] = errorFlag; errorFlag = ERR_NONE;} - root[F("ps")] = currentPreset>0 ? currentPreset : -1; + root["ps"] = (currentPreset > 0) ? currentPreset : -1; root[F("pl")] = currentPlaylist; usermods.addToJsonState(root);