Skip to content

Commit 296b0b6

Browse files
committed
Fix typo
1 parent 8bcfd2e commit 296b0b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NTPClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ bool NTPClient::forceUpdate() {
112112
// this is NTP time (seconds since Jan 1 1900):
113113
unsigned long secsSince1900 = highWord << 16 | lowWord;
114114

115-
this->_currentEpoc = secsSince1900 - SEVENZYYEARS;
115+
this->_currentEpoc = secsSince1900 - SEVENTYYEARS;
116116

117117
return true; // return true after successful update
118118
}

NTPClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <Udp.h>
66

7-
#define SEVENZYYEARS 2208988800UL
7+
#define SEVENTYYEARS 2208988800UL
88
#define NTP_PACKET_SIZE 48
99
#define NTP_DEFAULT_LOCAL_PORT 1337
1010

0 commit comments

Comments
 (0)