From e15aaed8c6839908b5c22f6907d73f0c56d10f72 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 16 Aug 2017 01:52:37 +0200 Subject: [PATCH] loopHook: Correct a thinko Thanks @obra for catching it! Signed-off-by: Gergely Nagy --- src/Kaleidoscope/LED-ActiveModColor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope/LED-ActiveModColor.cpp b/src/Kaleidoscope/LED-ActiveModColor.cpp index 9d959567..3349f207 100644 --- a/src/Kaleidoscope/LED-ActiveModColor.cpp +++ b/src/Kaleidoscope/LED-ActiveModColor.cpp @@ -79,7 +79,7 @@ void ActiveModColorEffect::loopHook(bool is_post_clear) { if (!is_mod && !is_layer) // Neither mod, nor layer key continue; - if (is_mod == 2 || is_mod == 2) + if (is_mod == 2 || is_layer == 2) ::LEDControl.setCrgbAt(r, c, highlight_color); else ::LEDControl.refreshAt(r, c);