Voice the 'Hertz' unit introduced with the MDB settings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4841 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-07-06 19:11:01 +00:00
parent 8c0cbc092a
commit 9a6545e787

View file

@ -66,6 +66,8 @@ bool set_sound(char* string,
talkunit = UNIT_DB;
else if (*unit == '%')
talkunit = UNIT_PERCENT;
else if (*unit == 'H')
talkunit = UNIT_HERTZ;
#ifdef HAVE_LCD_BITMAP
if(global_settings.statusbar)
@ -198,7 +200,7 @@ static bool mdb_center(void)
static bool mdb_shape(void)
{
return set_sound(str(LANG_MDB_SHAPE), &global_settings.mdb_shape,
return set_sound(str(LANG_MDB_SHAPE), &global_settings.mdb_shape,
SOUND_MDB_SHAPE);
}