* add NTP sync interval #1019
* adjusted range of contrast / luminance setting #1041
* use only ISO time format in Web-UI #913
This commit is contained in:
lumapu 2023-07-23 23:08:21 +02:00
parent c9d705baa4
commit 984e344f05
10 changed files with 31 additions and 13 deletions

View file

@ -559,6 +559,7 @@ class Web {
if (request->arg("ntpAddr") != "") {
request->arg("ntpAddr").toCharArray(mConfig->ntp.addr, NTP_ADDR_LEN);
mConfig->ntp.port = request->arg("ntpPort").toInt() & 0xffff;
mConfig->ntp.interval = request->arg("ntpIntvl").toInt() & 0xffff;
}
// sun