From a445bfa444802fd792ac53786ebb2845e71bc6e2 Mon Sep 17 00:00:00 2001 From: euquiq <31453004+euquiq@users.noreply.github.com> Date: Mon, 24 Aug 2020 18:12:46 -0300 Subject: [PATCH] fix-portapack-backlight-timer-bug The selected time for backlight off on Options-> Interface was not working ok for most of the selectable time options. --- firmware/common/portapack_persistent_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/portapack_persistent_memory.cpp b/firmware/common/portapack_persistent_memory.cpp index 1772fb24..1ee81ffa 100644 --- a/firmware/common/portapack_persistent_memory.cpp +++ b/firmware/common/portapack_persistent_memory.cpp @@ -242,7 +242,7 @@ bool config_login() { } uint32_t config_backlight_timer() { - const uint32_t timer_seconds[8] = { 0, 5, 15, 60, 300, 600, 600, 600 }; + const uint32_t timer_seconds[8] = { 0, 5, 15, 30, 60, 180, 300, 600 }; return timer_seconds[data->ui_config & 0x00000007UL]; }