summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-17 23:07:03 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-17 23:07:03 +0000
commit73a050e087a35657214925efc3378ffd273c8e1e (patch)
treebf4e65da14f6a27b91c7f6d274f0cd277865d137 /apps/settings_list.c
parentbfa1adcd06eca3b64f6d71b2231db88cd86ef902 (diff)
Fix crash in peak meter release setting, and set the limits back to a reasonable value. Fixes FS #7608
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14380 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index cb07225092..5341c80e90 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -708,7 +708,7 @@ const struct settings_list settings[] = {
TALK_ID(10, UNIT_SEC), TALK_ID(15, UNIT_SEC), TALK_ID(20, UNIT_SEC),
TALK_ID(30, UNIT_SEC), TALK_ID(60, UNIT_SEC)),
INT_SETTING(0, peak_meter_release, LANG_PM_RELEASE, 8, "peak meter release",
- LANG_PM_UNITS_PER_READ, 1, 0x7e1, 1, NULL, NULL,NULL),
+ UNIT_INT, 1, 0x7e, 1, NULL, NULL,NULL),
OFFON_SETTING(0,peak_meter_dbfs,LANG_PM_DBFS,true,"peak meter dbfs",NULL),
{F_T_INT,&global_settings.peak_meter_min,LANG_PM_MIN,INT(60),"peak meter min",NULL,UNUSED},
{F_T_INT,&global_settings.peak_meter_max,LANG_PM_MAX,INT(0),"peak meter max",NULL,UNUSED},