From 5c4c1f2face041ce9396ce36c5df2d824394220e Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 4 Jun 2019 05:59:51 +0200 Subject: [PATCH] Syntax corrections. --- 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 84ab5a1..72063a4 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.getTimeValid()==false && (ntpClient.getSeconds() & 1)==0) { clear(window, bg_color); return; }