From d9212189c19f35ff6b33ae8e558991877826d59d Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 6 Jun 2019 06:44:18 +0200 Subject: [PATCH] NTPClient.getTimeValid is now .isTimeSet. --- src/effect_clock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effect_clock.cpp b/src/effect_clock.cpp index 72063a4..7857457 100644 --- a/src/effect_clock.cpp +++ b/src/effect_clock.cpp @@ -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; }