You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible that this function incorrectly returns false.
bool NTP::update() {
if ((millis() - lastUpdate >= interval) || lastUpdate == 0) { // 1||1; 1||0; 0||1; all indicate a need to update.
return ntpUpdate();
} // if there is no reason to update the result is 'ok' so return true. return falseshould return true.
}
The text was updated successfully, but these errors were encountered:
hi,
I have a problem with the function NTP::update.
Is it possible that this function incorrectly returns false.
bool NTP::update() {
if ((millis() - lastUpdate >= interval) || lastUpdate == 0) { // 1||1; 1||0; 0||1; all indicate a need to update.
return ntpUpdate();
} // if there is no reason to update the result is 'ok' so return true.
return false should return true.
}
The text was updated successfully, but these errors were encountered: