[NTP] Only check NTP when user requires timestamp (#1569)

This commit is contained in:
Florian authored and GitHub committed 2023-03-23 10:44:05 -05:00
1 parent 8d1488e4c1
commit 537d4849e5
1 file changed
+2
+2
View File
@@ -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();
}