summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayceFayne <13365789+JayceFayne@users.noreply.github.com>2021-09-09 03:34:34 +0200
committerGitHub <noreply@github.com>2021-09-08 18:34:34 -0700
commitda81e5c7cd700cdb3ecd750ae8044f514fb65ca2 (patch)
tree945882a12eb076f5ae914d99926659118ee8f6bc
parent853e56d080d71ebf1be7299e3b78f6e5ec190aa5 (diff)
`OLED TIMEOUT 0` and `OLED_DISABLE_TIMEOUT` should behave the same (#14302)0.14.11
-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();