Make LED pattern configurable in Webserver

This commit is contained in:
Daniel Öster 2025-08-31 14:07:57 +03:00
parent fba4534ce4
commit 083432da78
6 changed files with 16 additions and 9 deletions

View file

@ -524,6 +524,9 @@ void init_webserver() {
} else if (p->name() == "GTWPACK") {
auto type = atoi(p->value().c_str());
settings.saveUInt("GTWPACK", type);
} else if (p->name() == "LEDMODE") {
auto type = atoi(p->value().c_str());
settings.saveUInt("LEDMODE", type);
}
for (auto& boolSetting : boolSettings) {