From 296b0b684771a8636c71f632f7fe6276de50d94f Mon Sep 17 00:00:00 2001 From: Brendan McDonnell <35789100+bmcdonnell@users.noreply.github.com> Date: Sun, 23 May 2021 12:01:25 -0400 Subject: [PATCH] Fix typo --- NTPClient.cpp | 2 +- NTPClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NTPClient.cpp b/NTPClient.cpp index 357edc4..927762c 100755 --- a/NTPClient.cpp +++ b/NTPClient.cpp @@ -112,7 +112,7 @@ bool NTPClient::forceUpdate() { // this is NTP time (seconds since Jan 1 1900): unsigned long secsSince1900 = highWord << 16 | lowWord; - this->_currentEpoc = secsSince1900 - SEVENZYYEARS; + this->_currentEpoc = secsSince1900 - SEVENTYYEARS; return true; // return true after successful update } diff --git a/NTPClient.h b/NTPClient.h index b518c28..895a3d7 100755 --- a/NTPClient.h +++ b/NTPClient.h @@ -4,7 +4,7 @@ #include -#define SEVENZYYEARS 2208988800UL +#define SEVENTYYEARS 2208988800UL #define NTP_PACKET_SIZE 48 #define NTP_DEFAULT_LOCAL_PORT 1337