Explorar o código

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

JayceFayne %!s(int64=3) %!d(string=hai) anos
pai
achega
da81e5c7cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      quantum/keyboard.c

+ 1 - 1
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();