mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-21 18:25:17 +00:00
Merge branch 'master' into dev-v2.2
This commit is contained in:
commit
000cfd8697
@ -1264,6 +1264,7 @@ void AmsWebServer::handleSave() {
|
||||
if(server.hasArg(F("h")) && !server.arg(F("h")).isEmpty()) {
|
||||
strcpy(wifi.hostname, server.arg(F("h")).c_str());
|
||||
}
|
||||
wifi.mdns = server.arg(F("m")) == F("true");
|
||||
wifi.power = server.arg(F("w")).toFloat() * 10;
|
||||
wifi.sleep = server.arg(F("z")).toInt();
|
||||
config->setWiFiConfig(wifi);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user