From f8db06c7c5cfe159f9fc03ebc08547fa3c9e9ebd Mon Sep 17 00:00:00 2001 From: siggel Date: Sun, 6 Feb 2022 22:48:21 +0100 Subject: [PATCH] call alexaInit() at end of savePreset() to keep Alexa in sync with the preset IDs and names --- wled00/presets.cpp | 1 + wled00/wled.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/presets.cpp b/wled00/presets.cpp index 742638e6..52b37ab5 100644 --- a/wled00/presets.cpp +++ b/wled00/presets.cpp @@ -112,6 +112,7 @@ void savePreset(byte index, bool persist, const char* pname, JsonObject saveobj) } if (persist) presetsModifiedTime = toki.second(); //unix time updateFSInfo(); + alexaInit(); } void deletePreset(byte index) { diff --git a/wled00/wled.h b/wled00/wled.h index c472d809..bea31fd9 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2202040 +#define VERSION 2202060 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG