We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bcfd2e commit 296b0b6Copy full SHA for 296b0b6
NTPClient.cpp
@@ -112,7 +112,7 @@ bool NTPClient::forceUpdate() {
112
// this is NTP time (seconds since Jan 1 1900):
113
unsigned long secsSince1900 = highWord << 16 | lowWord;
114
115
- this->_currentEpoc = secsSince1900 - SEVENZYYEARS;
+ this->_currentEpoc = secsSince1900 - SEVENTYYEARS;
116
117
return true; // return true after successful update
118
}
NTPClient.h
@@ -4,7 +4,7 @@
4
5
#include <Udp.h>
6
7
-#define SEVENZYYEARS 2208988800UL
+#define SEVENTYYEARS 2208988800UL
8
#define NTP_PACKET_SIZE 48
9
#define NTP_DEFAULT_LOCAL_PORT 1337
10
0 commit comments