We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaabe83 commit 6bbeb69Copy full SHA for 6bbeb69
NTPClient.h
@@ -18,10 +18,10 @@ class NTPClient {
18
unsigned int _port = NTP_DEFAULT_LOCAL_PORT;
19
long _timeOffset = 0;
20
21
- unsigned long _updateInterval = 60000; // In ms
+ unsigned long _updateInterval = 3600000; // In ms (1 hour : Defined by ToS of pool.ntp.org)
22
23
- unsigned long _currentEpoc = 0; // In s
24
- unsigned long _lastUpdate = 0; // In ms
+ unsigned long _currentEpoc = 0; // In s
+ unsigned long _lastUpdate = 0; // In ms
25
26
byte _packetBuffer[NTP_PACKET_SIZE];
27
0 commit comments