summaryrefslogtreecommitdiff
path: root/quantum/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r--quantum/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index 473306c65d..6cfbee3e0b 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -479,7 +479,7 @@ MATRIX_LOOP_END:
#ifdef OLED_ENABLE
oled_task();
-# ifndef OLED_DISABLE_TIMEOUT
+# if OLED_TIMEOUT > 0
// Wake up oled if user is using those fabulous keys or spinning those encoders!
# ifdef ENCODER_ENABLE
if (matrix_changed || encoders_changed) oled_on();