mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 14:26:11 +02:00
0.7.15
* 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:
parent
c9d705baa4
commit
984e344f05
10 changed files with 31 additions and 13 deletions
|
@ -247,7 +247,7 @@ void app::tickNtpUpdate(void) {
|
|||
}
|
||||
}
|
||||
|
||||
nxtTrig = isOK ? 43200 : 60; // depending on NTP update success check again in 12 h or in 1 min
|
||||
nxtTrig = isOK ? (mConfig->ntp.interval * 60) : 60; // depending on NTP update success check again in 12h (depends on setting) or in 1 min
|
||||
|
||||
if ((mSunrise == 0) && (mConfig->sun.lat) && (mConfig->sun.lon)) {
|
||||
mCalculatedTimezoneOffset = (int8_t)((mConfig->sun.lon >= 0 ? mConfig->sun.lon + 7.5 : mConfig->sun.lon - 7.5) / 15) * 3600;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue