diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2013-03-24 16:03:31 +0100 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2013-03-24 16:03:31 +0100 |
commit | 9b8f11d94ab2c36dce5fe3ab46d9fd113d9c6e9c (patch) | |
tree | 601d7b49b65c455ed2db125fc5042184abd849f2 | |
parent | 0de2a85ae1efd9cece7686321ea185ae4912baa1 (diff) |
Fix LV24020 tuner chip volume level definition (found by cppcheck)
Change-Id: I328cfbd7c9fc6295db2e62f6174f8f4405e281a8
-rw-r--r-- | firmware/drivers/tuner/lv24020lp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |