Multiple fixes.

- non matrix bugs in legacy effects
- preset loading (cycling)
- segment length in UI
- possible WS heap corruption prevention
This commit is contained in:
Blaz Kristan
2022-06-01 22:11:25 +02:00
parent 366006273d
commit 14887d5e88
7 changed files with 479 additions and 440 deletions

View File

@@ -173,11 +173,13 @@ void initServer()
const String& url = request->url();
isConfig = url.indexOf("cfg") > -1;
if (!isConfig) {
/*
#ifdef WLED_DEBUG
DEBUG_PRINTLN(F("Serialized HTTP"));
serializeJson(root,Serial);
DEBUG_PRINTLN();
#endif
*/
verboseResponse = deserializeState(root);
} else {
verboseResponse = deserializeConfig(root); //use verboseResponse to determine whether cfg change should be saved immediately