Removed dynamic JSON buffer entirely.
Temporary presets in RAM (ESP32) Async loading of presets (stability). Other minor fixes. Bumped version to 0.13.1-bl6
This commit is contained in:
@@ -48,11 +48,7 @@ void handleSerial()
|
||||
Serial.print("WLED"); Serial.write(' '); Serial.println(VERSION);
|
||||
} else if (next == '{') { //JSON API
|
||||
bool verboseResponse = false;
|
||||
#ifdef WLED_USE_DYNAMIC_JSON
|
||||
DynamicJsonDocument doc(JSON_BUFFER_SIZE);
|
||||
#else
|
||||
if (!requestJSONBufferLock(16)) return;
|
||||
#endif
|
||||
Serial.setTimeout(100);
|
||||
DeserializationError error = deserializeJson(doc, Serial);
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user