mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-09 22:21:39 +02:00
0.8.66
* added support for other regions - untested #1271 * fix generation of DTU-ID; was computed twice without reset if two radios are enabled
This commit is contained in:
parent
97d74d3090
commit
dc696d727f
14 changed files with 252 additions and 129 deletions
|
@ -481,7 +481,8 @@ class Web {
|
|||
request->arg("device").toCharArray(mConfig->sys.deviceName, DEVNAME_LEN);
|
||||
mConfig->sys.darkMode = (request->arg("darkMode") == "on");
|
||||
mConfig->sys.schedReboot = (request->arg("schedReboot") == "on");
|
||||
|
||||
mConfig->sys.region = (request->arg("region")).toInt();
|
||||
mConfig->sys.timezone = (request->arg("timezone")).toInt() - 12;
|
||||
|
||||
if (request->arg("cstLnk") != "") {
|
||||
request->arg("cstLnk").toCharArray(mConfig->plugin.customLink, MAX_CUSTOM_LINK_LEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue