Re-added the "Flush old UDP packets before updating the time" fix to NTPClient.cpp. See https://github.com/arduino-libraries/NTPClient/pull/62
This commit is contained in:
1 parent
adb03d486b
commit
8e46327549
1 file changed
+3
@@ -129,6 +129,9 @@ int NTPClient::getMinutes() const {
|
||||
int NTPClient::getSeconds() const {
|
||||
return (this->getEpochTime() % 60);
|
||||
}
|
||||
boolean NTPClient::getTimeValid() const {
|
||||
return (this->_timeValid);
|
||||
}
|
||||
|
||||
String NTPClient::getFormattedTime() const {
|
||||
unsigned long rawTime = this->getEpochTime();
|
||||
|
||||
Reference in new issue
Block a user