소스 검색

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

JayceFayne 3 년 전
부모
커밋
da81e5c7cd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();