mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-07-29 18:12:49 +00:00
use PSRAM in AsyncJsonResponse
This commit is contained in:
@@ -27,7 +27,7 @@ WebActivityService::WebActivityService(AsyncWebServer * server, SecurityManager
|
||||
}
|
||||
|
||||
void WebActivityService::webActivityService(AsyncWebServerRequest * request) {
|
||||
auto * response = new AsyncJsonResponse(false);
|
||||
auto * response = new PsramAsyncJsonResponse(false);
|
||||
JsonObject root = response->getRoot();
|
||||
|
||||
JsonArray statsJson = root["stats"].to<JsonArray>();
|
||||
|
||||
Reference in New Issue
Block a user