summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kaylan <1063516+kaylanm@users.noreply.github.com>2018-02-01 16:12:23 -0600
committerJack Humbert <jack.humb@gmail.com>2018-02-01 23:06:00 -0500
commit91c133f4e0e9ae232503a28768c35f054eeb771f (patch)
tree5bb728c21bc1332b6dd3fcf162fefc19560c00cb
parentb0805e38b9389ff79e4ba9b4e35ec08b18f7a728 (diff)
Add missing parenthesis back to backlight_tick
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 65fa259614..f5246d9b1e 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