mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Make LED pattern configurable in Webserver
This commit is contained in:
parent
fba4534ce4
commit
083432da78
6 changed files with 16 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue