We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1d6b1 commit 89aa335Copy full SHA for 89aa335
NTPClient.h
@@ -13,11 +13,11 @@ class NTPClient {
13
14
const char* _poolServerName = "time.nist.gov"; // Default time server
15
int _port = 1337;
16
- int _timeOffset;
+ int _timeOffset = 0;
17
18
unsigned int _updateInterval = 60000; // In ms
19
20
- unsigned long _currentEpoc; // In s
+ unsigned long _currentEpoc = 0; // In s
21
unsigned long _lastUpdate = 0; // In ms
22
23
byte _packetBuffer[NTP_PACKET_SIZE];
0 commit comments