reform

MNT Reform: Open Source Portable Computer
Log (Feed) | Files | Refs (Tags) | README

commit de6a78ab4b8870d74e389c5a808e8e73bff254d5
parent a18474ac9f331edbfc208b2efd52004dc99aa49f
Author: René Wagner <rwa@clttr.info>
Date:   Tue, 20 Feb 2024 18:19:07 +0100

increase backlight timeout to 5 minutes

Diffstat:
Mreform2-keyboard-fw/keyboard.c | 2+-
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) {