diff options
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index cd6448c754..51244f90ac 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -519,7 +519,7 @@ void sound_set(int setting, int value) | |||
519 | #elif CONFIG_HWCODEC == MAS3507D | 519 | #elif CONFIG_HWCODEC == MAS3507D |
520 | current_volume = -780 + (value * 960 / 100); /* tenth of dB */ | 520 | current_volume = -780 + (value * 960 / 100); /* tenth of dB */ |
521 | set_prescaled_volume(); | 521 | set_prescaled_volume(); |
522 | #elif CONFIG_HWCODEC == MASNONE | 522 | #elif defined(HAVE_UDA1380) |
523 | current_volume = -840 + (value * 840 / 100); /* tenth of dB */ | 523 | current_volume = -840 + (value * 840 / 100); /* tenth of dB */ |
524 | set_volume(); | 524 | set_volume(); |
525 | #endif | 525 | #endif |