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:
parent
adb03d486b
commit
8e46327549
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user