Adjust for 9 second screen udpate in NTPClient
This commit is contained in:
parent
589d99f723
commit
295a9020f5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ TimeChangeRule *tcr;
|
||||||
// Network clients
|
// Network clients
|
||||||
WiFiUDP ntpUDP;
|
WiFiUDP ntpUDP;
|
||||||
HTTPClient http;
|
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
|
//NTPClient timeClient(ntpUDP, "au.pool.ntp.org", 0, 60000); //use internal ntp server, update every 10 minutes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue