From 79c13e760f6608fd2ee286a69a600ba20a7645a7 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 28 Apr 2020 17:44:19 +0200 Subject: [PATCH] Webserver * Increased buffer size for HTML generation in /effects. --- src/http_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http_server.cpp b/src/http_server.cpp index d4a0958..8ff1363 100644 --- a/src/http_server.cpp +++ b/src/http_server.cpp @@ -201,9 +201,9 @@ void http_server_setup() { }); http_server.on("/effects", HTTP_GET, [&](AsyncWebServerRequest* request) { String message = F("Pitrix effects

Pitrix settings

Back to main page"); - char buffer[150]; + char buffer[500]; for (int i=0; i"), effects[i].name, effects[i].name); + snprintf_P(buffer, 500, PSTR(""), effects[i].name, effects[i].name); message += buffer; } message += F("
%s
%s
");