Explorar o código

[Bug] Revert backlight pins on function call (#15205)

Drashna Jaelre %!s(int64=3) %!d(string=hai) anos
pai
achega
50dc313e80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      quantum/backlight/backlight_avr.c

+ 1 - 1
quantum/backlight/backlight_avr.c

@@ -222,7 +222,7 @@ ISR(TIMERx_OVF_vect) {
     // takes many computation cycles).
     // so better not turn them on while the counter TOP is very low.
     if (OCRxx > ICRx / 250 + 5) {
-        FOR_EACH_LED(backlight_on(backlight_pin);)
+        backlight_pins_on();
     }
 }