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:
parent
8c0cbc092a
commit
9a6545e787
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue