diff options
Diffstat (limited to 'firmware/drivers/audio/uda1341.c')
-rw-r--r-- | firmware/drivers/audio/uda1341.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/uda1341.c b/firmware/drivers/audio/uda1341.c index e15cd39bfc..75573105de 100644 --- a/firmware/drivers/audio/uda1341.c +++ b/firmware/drivers/audio/uda1341.c | |||
@@ -31,7 +31,7 @@ | |||
31 | /* convert tenth of dB volume (-600..0) to volume register value */ | 31 | /* convert tenth of dB volume (-600..0) to volume register value */ |
32 | static int vol_tenthdb2hw(int db) | 32 | static int vol_tenthdb2hw(int db) |
33 | { | 33 | { |
34 | if (db < -600) | 34 | if (db <= -610) |
35 | return 63; | 35 | return 63; |
36 | else /* 1 dB steps */ | 36 | else /* 1 dB steps */ |
37 | return -(db / 10) + 1; | 37 | return -(db / 10) + 1; |