From 295a9020f598b8ac474b5aa12bf123887d619b18 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Tue, 26 Nov 2019 23:42:15 +1100 Subject: [PATCH] Adjust for 9 second screen udpate in NTPClient --- esp_time.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp_time.ino b/esp_time.ino index f2cb366..863fb07 100644 --- a/esp_time.ino +++ b/esp_time.ino @@ -43,7 +43,7 @@ TimeChangeRule *tcr; // Network clients WiFiUDP ntpUDP; HTTPClient http; -NTPClient timeClient(ntpUDP, "raspberrypi.lan", 0, 60000); //use internal ntp server, update every 10 minutes +NTPClient timeClient(ntpUDP, "raspberrypi.lan", 9, 60000); //use internal ntp server, update every 10 minutes, taking in to account the 9 seconds it takes to update the screen for the current time //NTPClient timeClient(ntpUDP, "au.pool.ntp.org", 0, 60000); //use internal ntp server, update every 10 minutes