Merge pull request #167 from euquiq/fix-backlight-timer-bug

fix-portapack-backlight-timer-bug
This commit is contained in:
Erwin Ried 2020-08-25 10:11:31 +02:00 committed by GitHub
commit dbf8d2e130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];
}