From da81e5c7cd700cdb3ecd750ae8044f514fb65ca2 Mon Sep 17 00:00:00 2001 From: JayceFayne <13365789+JayceFayne@users.noreply.github.com> Date: Thu, 9 Sep 2021 03:34:34 +0200 Subject: [PATCH] `OLED TIMEOUT 0` and `OLED_DISABLE_TIMEOUT` should behave the same (#14302) --- quantum/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();