commit 2f86ede376028529ebe089c4b5650b9d65e90458
parent 4b1e8f6d6bb4974e8f259ccf5699f5b2d5764f9d
Author: René Wagner <rwa@clttr.info>
Date: Tue, 20 Feb 2024 18:19:07 +0100
increase backlight timeout to 5 minutes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reform2-keyboard-fw/keyboard.c b/reform2-keyboard-fw/keyboard.c
@@ -339,7 +339,7 @@ int process_keyboard(uint8_t* resulting_scancodes) {
last_meta_key = 0;
if (led_dimmed < 2) {
led_idle_counter++;
- if (led_dimmed == 0 && led_idle_counter > 120000) {
+ if (led_dimmed == 0 && led_idle_counter > 500000) {
led_dimmed = 1;
led_brightness = kbd_brightness_get();
} else if (led_dimmed == 1) {