[NTP] Only check NTP when user requires timestamp (#1569)
This commit is contained in:
1 parent
8d1488e4c1
commit
537d4849e5
1 file changed
+2
@@ -1622,7 +1622,9 @@ void loop() {
|
|||||||
checkForUpdates();
|
checkForUpdates();
|
||||||
# endif
|
# endif
|
||||||
# if defined(ESP8266) || defined(ESP32)
|
# if defined(ESP8266) || defined(ESP32)
|
||||||
|
# if message_UTCtimestamp || message_unixtimestamp
|
||||||
syncNTP();
|
syncNTP();
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
timer_sys_checks = millis();
|
timer_sys_checks = millis();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user