diff options
author | JayceFayne <13365789+JayceFayne@users.noreply.github.com> | 2021-09-09 03:34:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 18:34:34 -0700 |
commit | da81e5c7cd700cdb3ecd750ae8044f514fb65ca2 (patch) | |
tree | 945882a12eb076f5ae914d99926659118ee8f6bc /quantum/keyboard.c | |
parent | 853e56d080d71ebf1be7299e3b78f6e5ec190aa5 (diff) | |
download | qmk_firmware-da81e5c7cd700cdb3ecd750ae8044f514fb65ca2.tar.gz qmk_firmware-da81e5c7cd700cdb3ecd750ae8044f514fb65ca2.zip |
`OLED TIMEOUT 0` and `OLED_DISABLE_TIMEOUT` should behave the same (#14302)
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r-- | quantum/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 473306c65..6cfbee3e0 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c | |||
@@ -479,7 +479,7 @@ MATRIX_LOOP_END: | |||
479 | 479 | ||
480 | #ifdef OLED_ENABLE | 480 | #ifdef OLED_ENABLE |
481 | oled_task(); | 481 | oled_task(); |
482 | # ifndef OLED_DISABLE_TIMEOUT | 482 | # if OLED_TIMEOUT > 0 |
483 | // Wake up oled if user is using those fabulous keys or spinning those encoders! | 483 | // Wake up oled if user is using those fabulous keys or spinning those encoders! |
484 | # ifdef ENCODER_ENABLE | 484 | # ifdef ENCODER_ENABLE |
485 | if (matrix_changed || encoders_changed) oled_on(); | 485 | if (matrix_changed || encoders_changed) oled_on(); |