Syntax corrections.

This commit is contained in:
Fabian Schlenz 2019-06-04 05:59:51 +02:00
parent bfaf1a9d7a
commit 5c4c1f2fac

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.getTimeValid()==false && (ntpClient.getSeconds() & 1)==0) {
clear(window, bg_color);
return;
}