From efa9a73caead979a0667783f88a7538af61f5ecc Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 11 Oct 2019 17:57:00 +0200 Subject: [PATCH] Added switching of effects via the web interface. --- src/http_server.cpp | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/http_server.cpp b/src/http_server.cpp index e48fbd2..a5d872b 100644 --- a/src/http_server.cpp +++ b/src/http_server.cpp @@ -63,7 +63,7 @@ void http_server_setup() { Setting s = all_settings[i]; uint16_t default_value = setting_default(&s); uint16_t value = *(s.value); - + message += ""; if (default_value != value) { message += ""; @@ -155,11 +155,30 @@ void http_server_setup() { for (int i=0; i