From 9b8f11d94ab2c36dce5fe3ab46d9fd113d9c6e9c Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 24 Mar 2013 16:03:31 +0100 Subject: Fix LV24020 tuner chip volume level definition (found by cppcheck) Change-Id: I328cfbd7c9fc6295db2e62f6174f8f4405e281a8 --- firmware/drivers/tuner/lv24020lp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/tuner') diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c index 533445f110..bb137d60ff 100644 --- a/firmware/drivers/tuner/lv24020lp.c +++ b/firmware/drivers/tuner/lv24020lp.c @@ -243,7 +243,7 @@ static int fd_log = -1; #define TONE_LVL_SET(x) ((x) << 4) #define VOL_LVL(x) ((x) & 0xf) #define VOL_LVL_GET(x) ((x) & 0xf) - #define VOL_LVL_SET(x) ((x) << 4) + #define VOL_LVL_SET(x) ((x) << 0) /* W */ #define AUDIO_CTRL2 (0x0a + BLK2_START) @@ -554,7 +554,7 @@ static void set_frequency(int freq) * * For example: when the IF frequency of LV2400x is preset at 110 kHz, * it must be tuned at 88.51 MHz to receive the radio station at 88.4 MHz. - * -- AN2400S04@ – V0.4 + * -- AN2400S04@ \96 V0.4 */ freq += if_set; -- cgit v1.2.3