remove shrinktofit to help mem frag

This commit is contained in:
proddy
2020-11-26 23:10:03 +01:00
parent 25b0ab0cde
commit a08b880b67

View File

@@ -109,7 +109,7 @@ void WebAPIService::webAPIService(AsyncWebServerRequest * request) {
// if we have returned data in JSON format, send this to the WEB
if (json.size()) {
doc.shrinkToFit();
// doc.shrinkToFit();
char buffer[EMSESP_MAX_JSON_SIZE_DYN];
serializeJsonPretty(doc, buffer);
request->send(200, "text/plain", buffer);