aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-18 11:06:55 -0800
committerGitHub <noreply@github.com>2021-11-19 06:06:55 +1100
commit50dc313e809ae1e5e7775d90fd1cb43152091e48 (patch)
tree33dee200a5bb7b5aeab75142fb3af6d04d6be5f5
parentb9148eb1bd00d4cf2fded05d18add3e5198a706d (diff)
downloadqmk_firmware-50dc313e809ae1e5e7775d90fd1cb43152091e48.tar.gz
qmk_firmware-50dc313e809ae1e5e7775d90fd1cb43152091e48.zip
[Bug] Revert backlight pins on function call (#15205)
-rw-r--r--quantum/backlight/backlight_avr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/backlight/backlight_avr.c b/quantum/backlight/backlight_avr.c
index 634260800..67b551dc3 100644
--- a/quantum/backlight/backlight_avr.c
+++ b/quantum/backlight/backlight_avr.c
@@ -222,7 +222,7 @@ ISR(TIMERx_OVF_vect) {
222 // takes many computation cycles). 222 // takes many computation cycles).
223 // so better not turn them on while the counter TOP is very low. 223 // so better not turn them on while the counter TOP is very low.
224 if (OCRxx > ICRx / 250 + 5) { 224 if (OCRxx > ICRx / 250 + 5) {
225 FOR_EACH_LED(backlight_on(backlight_pin);) 225 backlight_pins_on();
226 } 226 }
227} 227}
228 228