remove custom work-around for missing arduinojson6 support - it has since been added to async esp core

This commit is contained in:
Rick Watson
2019-11-30 09:58:28 +00:00
parent 69caa841a3
commit d650280a87
17 changed files with 87 additions and 215 deletions

View File

@ -7,7 +7,7 @@ SystemStatus::SystemStatus(AsyncWebServer* server, SecurityManager* securityMana
}
void SystemStatus::systemStatus(AsyncWebServerRequest *request) {
AsyncJsonResponse * response = new AsyncJsonResponse(MAX_ESP_STATUS_SIZE);
AsyncJsonResponse * response = new AsyncJsonResponse(false, MAX_ESP_STATUS_SIZE);
JsonObject root = response->getRoot();
#if defined(ESP8266)
root["esp_platform"] = "esp8266";