mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Make Wifi channel configurable
This commit is contained in:
parent
224c33ec1d
commit
21eda56c9e
7 changed files with 18 additions and 12 deletions
|
@ -463,6 +463,9 @@ void init_webserver() {
|
|||
} else if (p->name() == "MAXPRETIME") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("MAXPRETIME", type);
|
||||
} else if (p->name() == "WIFICHANNEL") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("WIFICHANNEL", type);
|
||||
} else if (p->name() == "HOSTNAME") {
|
||||
settings.saveString("HOSTNAME", p->value().c_str());
|
||||
} else if (p->name() == "MQTTSERVER") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue