use PSRAM in AsyncJsonResponse

This commit is contained in:
proddy
2026-05-17 16:19:54 +02:00
parent 144d6589ef
commit 90894898c2
18 changed files with 179 additions and 21 deletions

View File

@@ -193,7 +193,7 @@ void WebLogService::transmit(const QueuedLogMessage & message) {
void WebLogService::getSetValues(AsyncWebServerRequest * request, JsonVariant json) {
if ((request->method() == HTTP_GET) || (!json.is<JsonObject>())) {
// GET - return the values
auto * response = new AsyncJsonResponse(false);
auto * response = new PsramAsyncJsonResponse(false);
JsonObject root = response->getRoot();
root["level"] = level_;
root["max_messages"] = maximum_log_messages_;