From f5ed710c0b731076afdd1c5f0d75558f9faac222 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Thu, 31 Dec 2020 20:47:38 +0100 Subject: [PATCH] Same procedure as every year James --- CHANGELOG.md | 4 ++++ wled00/cfg.cpp | 1 + wled00/set.cpp | 1 + wled00/wled.h | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d66941e..c70c86004 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ### Development versions after 0.11.1 release +#### Build 2012311 + +- Fixed Countdown mode + #### Build 2012310 - (Hopefully actually) fixed display of usermod values in info screen diff --git a/wled00/cfg.cpp b/wled00/cfg.cpp index 68eba7a3e..9b4f99f9e 100644 --- a/wled00/cfg.cpp +++ b/wled00/cfg.cpp @@ -272,6 +272,7 @@ void deserializeConfig() { CJSON(countdownMin, cntdwn_goal[4]); CJSON(countdownSec, cntdwn_goal[5]); CJSON(macroCountdown, cntdwn[F("macro")]); + setCountdown(); JsonArray timers = tm[F("ins")]; uint8_t it = 0; diff --git a/wled00/set.cpp b/wled00/set.cpp index e6ead1e93..e78645294 100644 --- a/wled00/set.cpp +++ b/wled00/set.cpp @@ -236,6 +236,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage) countdownHour = request->arg(F("CH")).toInt(); countdownMin = request->arg(F("CM")).toInt(); countdownSec = request->arg(F("CS")).toInt(); + setCountdown(); macroAlexaOn = request->arg(F("A0")).toInt(); macroAlexaOff = request->arg(F("A1")).toInt(); diff --git a/wled00/wled.h b/wled00/wled.h index fdfd7e024..ad4e701e0 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2012310 +#define VERSION 2012311 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG