Răsfoiți Sursa

`ST7565_TIMEOUT 0` and `ST7565_DISABLE_TIMEOUT` should behave the same (#14315)

JayceFayne 3 ani în urmă
părinte
comite
f3bef84dac
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      quantum/keyboard.c

+ 1 - 1
quantum/keyboard.c

@@ -491,7 +491,7 @@ MATRIX_LOOP_END:
 
 #ifdef ST7565_ENABLE
     st7565_task();
-#    ifndef ST7565_DISABLE_TIMEOUT
+#    if ST7565_TIMEOUT > 0
     // Wake up display if user is using those fabulous keys or spinning those encoders!
 #        ifdef ENCODER_ENABLE
     if (matrix_changed || encoders_changed) st7565_on();