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[] = {
"off","200ms","300ms","500ms",
"1","2","3","4","5","6","7","8","9","10",
"15","20","25","30","45","60","90",
"2min","3min","5min","10min","20min","45min","90min"};
"15","20","30","1min"};
set_cfg_option(&global_settings.peak_meter_hold, value,
options, 28);
options, 18);
}
else if (!strcasecmp(name, "peak meter clip hold")) {
static char* options[] = {
@ -977,9 +976,9 @@ bool settings_load_config(char* file)
else if (!strcasecmp(name, "backlight timeout")) {
static char* options[] = {
"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,
options, 18);
options, 19);
}
else if (!strcasecmp(name, "backlight when plugged"))
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)
scroll speed (1 - 10) [Hz]
start delay (0 - 250) [1/10s]
scroll delay (0 - 250) [1/10s]
scroll step (1 - 112) [pixels]
bidir limit (0 - 200) [% of screen width]
contrast (0 - 63)
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)
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 hold (off, 200ms, 300ms, 500ms,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
15, 20, 25, 30, 45, 90,
2min, 3min, 5min, 10min, 20min, 45min, 90min)
15, 20, 30, 1min)
peak meter clip hold (on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
15, 20, 25, 30, 45, 60, 90,
2min, 3min, 5min, 10min, 20min, 45min, 90min)