Skip to content

Commit

Permalink
[NTP] Only check NTP when user requires timestamp (#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile authored Mar 23, 2023
1 parent 8d1488e commit 537d484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 537d484

Please sign in to comment.