OLED TIMEOUT 0 and OLED_DISABLE_TIMEOUT should behave the same (#14302)

This commit is contained in:
JayceFayne 2021-09-09 03:34:34 +02:00 committed by GitHub
parent 853e56d080
commit da81e5c7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,7 +479,7 @@ MATRIX_LOOP_END:
#ifdef OLED_ENABLE #ifdef OLED_ENABLE
oled_task(); oled_task();
# ifndef OLED_DISABLE_TIMEOUT # if OLED_TIMEOUT > 0
// Wake up oled if user is using those fabulous keys or spinning those encoders! // Wake up oled if user is using those fabulous keys or spinning those encoders!
# ifdef ENCODER_ENABLE # ifdef ENCODER_ENABLE
if (matrix_changed || encoders_changed) oled_on(); if (matrix_changed || encoders_changed) oled_on();