diff options
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index bd85ad17ce..7c97d9b63c 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -124,7 +124,7 @@ int sound_default(int setting) | |||
124 | return audiohw_settings[setting].defaultval; | 124 | return audiohw_settings[setting].defaultval; |
125 | } | 125 | } |
126 | 126 | ||
127 | static sound_set_type *sound_set_fns[] = | 127 | static sound_set_type * const sound_set_fns[] = |
128 | { | 128 | { |
129 | [0 ... SOUND_LAST_SETTING-1] = NULL, | 129 | [0 ... SOUND_LAST_SETTING-1] = NULL, |
130 | [SOUND_VOLUME] = sound_set_volume, | 130 | [SOUND_VOLUME] = sound_set_volume, |
@@ -336,7 +336,7 @@ void sound_set_treble(int value) | |||
336 | #if defined(HAVE_WM8751) | 336 | #if defined(HAVE_WM8751) |
337 | current_treble = value; | 337 | current_treble = value; |
338 | #else | 338 | #else |
339 | current_treble = value * 10; | 339 | current_treble = value * 10; |
340 | #endif | 340 | #endif |
341 | #endif | 341 | #endif |
342 | 342 | ||