[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();
|
||||
# endif
|
||||
# if defined(ESP8266) || defined(ESP32)
|
||||
# if message_UTCtimestamp || message_unixtimestamp
|
||||
syncNTP();
|
||||
# endif
|
||||
# endif
|
||||
timer_sys_checks = millis();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user