1
0
Fork 0
forked from len0rd/rockbox

Fixed bad backlight and peak meter value list (Henrik Backe)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-02-25 19:12:14 +00:00
parent 3b66990c2e
commit f40e366950
2 changed files with 7 additions and 9 deletions

View file

@ -902,10 +902,9 @@ bool settings_load_config(char* file)
static char* options[] = { static char* options[] = {
"off","200ms","300ms","500ms", "off","200ms","300ms","500ms",
"1","2","3","4","5","6","7","8","9","10", "1","2","3","4","5","6","7","8","9","10",
"15","20","25","30","45","60","90", "15","20","30","1min"};
"2min","3min","5min","10min","20min","45min","90min"};
set_cfg_option(&global_settings.peak_meter_hold, value, set_cfg_option(&global_settings.peak_meter_hold, value,
options, 28); options, 18);
} }
else if (!strcasecmp(name, "peak meter clip hold")) { else if (!strcasecmp(name, "peak meter clip hold")) {
static char* options[] = { static char* options[] = {
@ -977,9 +976,9 @@ bool settings_load_config(char* file)
else if (!strcasecmp(name, "backlight timeout")) { else if (!strcasecmp(name, "backlight timeout")) {
static char* options[] = { static char* options[] = {
"off","on","1","2","3","4","5","6","7","8","9", "off","on","1","2","3","4","5","6","7","8","9",
"10","15","20","30","45","60","90"}; "10","15","20","25","30","45","60","90"};
set_cfg_option(&global_settings.backlight_timeout, value, set_cfg_option(&global_settings.backlight_timeout, value,
options, 18); options, 19);
} }
else if (!strcasecmp(name, "backlight when plugged")) else if (!strcasecmp(name, "backlight when plugged"))
set_cfg_bool(&global_settings.backlight_on_when_charging, value); set_cfg_bool(&global_settings.backlight_on_when_charging, value);

View file

@ -34,12 +34,12 @@ show files (all, supported, music, playlists)
follow playlist (on, off) follow playlist (on, off)
scroll speed (1 - 10) [Hz] scroll speed (1 - 10) [Hz]
start delay (0 - 250) [1/10s] scroll delay (0 - 250) [1/10s]
scroll step (1 - 112) [pixels] scroll step (1 - 112) [pixels]
bidir limit (0 - 200) [% of screen width] bidir limit (0 - 200) [% of screen width]
contrast (0 - 63) contrast (0 - 63)
backlight timeout (off, on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, backlight timeout (off, on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
15, 20, 30, 45, 60, 90) [seconds] 15, 20, 25, 30, 45, 60, 90) [seconds]
backlight when plugged (on, off) backlight when plugged (on, off)
disk spindown (3 - 254) [seconds] disk spindown (3 - 254) [seconds]
@ -59,8 +59,7 @@ auto volume (0=off, 1=2s, 2=4s, 3=8s)
peak meter release (1 - 126) peak meter release (1 - 126)
peak meter hold (off, 200ms, 300ms, 500ms, peak meter hold (off, 200ms, 300ms, 500ms,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
15, 20, 25, 30, 45, 90, 15, 20, 30, 1min)
2min, 3min, 5min, 10min, 20min, 45min, 90min)
peak meter clip hold (on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, peak meter clip hold (on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
15, 20, 25, 30, 45, 60, 90, 15, 20, 25, 30, 45, 60, 90,
2min, 3min, 5min, 10min, 20min, 45min, 90min) 2min, 3min, 5min, 10min, 20min, 45min, 90min)