mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Comstify a function pointer array
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23609 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0db3308cb5
commit
35202026cb
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ int sound_default(int setting)
|
|||
return audiohw_settings[setting].defaultval;
|
||||
}
|
||||
|
||||
static sound_set_type *sound_set_fns[] =
|
||||
static sound_set_type * const sound_set_fns[] =
|
||||
{
|
||||
[0 ... SOUND_LAST_SETTING-1] = NULL,
|
||||
[SOUND_VOLUME] = sound_set_volume,
|
||||
|
@ -336,7 +336,7 @@ void sound_set_treble(int value)
|
|||
#if defined(HAVE_WM8751)
|
||||
current_treble = value;
|
||||
#else
|
||||
current_treble = value * 10;
|
||||
current_treble = value * 10;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue