Make Wifi channel configurable

This commit is contained in:
Daniel Öster 2025-09-02 20:12:42 +03:00
parent 224c33ec1d
commit 21eda56c9e
7 changed files with 18 additions and 12 deletions

View file

@ -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") {