NTPClient.getTimeValid is now .isTimeSet.

This commit is contained in:
Fabian Schlenz 2019-06-06 06:44:18 +02:00
parent f7fc459095
commit d9212189c1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void ClockEffect::loop(boolean invert, CRGB fg_color, CRGB bg_color) {
}
fg_color = bg_color;
}
if (ntpClient.getTimeValid()==false && (ntpClient.getSeconds() & 1)==0) {
if (ntpClient.isTimeSet()==false && (ntpClient.getSeconds() & 1)==0) {
clear(window, bg_color);
return;
}