From 91c133f4e0e9ae232503a28768c35f054eeb771f Mon Sep 17 00:00:00 2001 From: Michael Kaylan <1063516+kaylanm@users.noreply.github.com> Date: Thu, 1 Feb 2018 16:12:23 -0600 Subject: [PATCH] Add missing parenthesis back to backlight_tick --- quantum/quantum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/quantum.c b/quantum/quantum.c index 65fa2596..f5246d9b 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -904,7 +904,7 @@ void backlight_task(void) { _SFR_IO8((backlight_pin >> 4) + 2) &= ~_BV(backlight_pin & 0xF); #endif } - backlight_tick = backlight_tick + 1 % 16; + backlight_tick = (backlight_tick + 1) % 16; } #endif