diff options
| -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 cd6448c..51244f9 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -519,7 +519,7 @@ void sound_set(int setting, int value) #elif CONFIG_HWCODEC == MAS3507D current_volume = -780 + (value * 960 / 100); /* tenth of dB */ set_prescaled_volume(); -#elif CONFIG_HWCODEC == MASNONE +#elif defined(HAVE_UDA1380) current_volume = -840 + (value * 840 / 100); /* tenth of dB */ set_volume(); #endif |