loopHook: Correct a thinko

Thanks @obra for catching it!

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/389/head
Gergely Nagy 7 years ago
parent 559858db8a
commit e15aaed8c6

@ -79,7 +79,7 @@ void ActiveModColorEffect::loopHook(bool is_post_clear) {
if (!is_mod && !is_layer) // Neither mod, nor layer key if (!is_mod && !is_layer) // Neither mod, nor layer key
continue; continue;
if (is_mod == 2 || is_mod == 2) if (is_mod == 2 || is_layer == 2)
::LEDControl.setCrgbAt(r, c, highlight_color); ::LEDControl.setCrgbAt(r, c, highlight_color);
else else
::LEDControl.refreshAt(r, c); ::LEDControl.refreshAt(r, c);

Loading…
Cancel
Save