Skip to content

Commit 69ce756

Browse files
committed
added method to test if time was set correctly
1 parent b9fa226 commit 69ce756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/IsTimeSet/IsTimeSet.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const char *password = "<PASSWORD>";
1010

1111
WiFiUDP ntpUDP;
1212
// initialized to a time offset of 10 hours
13-
NTPClient timeClient(ntpUDP,"pool.ntp.org", 36000,);
13+
NTPClient timeClient(ntpUDP,"pool.ntp.org", 36000, 60000);
1414
// HH:MM:SS
1515
// timeClient initializes to 10:00:00 if it does not receive an NTP packet
1616
// before the 100ms timeout.

0 commit comments

Comments
 (0)