call alexaInit() at end of savePreset() to keep Alexa in sync with the preset IDs and names

This commit is contained in:
siggel 2022-02-06 22:48:21 +01:00
parent 0e2b93bcc2
commit f8db06c7c5
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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