summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-23 20:56:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-23 20:58:10 -0400
commit54e2facb8533358e06b2716753e12865c471c2be (patch)
tree60829279dcd41a1bdc170176101a8746d5b74520
parentf7a3b4dfa32f008ba25a84e332eeace8d35cff42 (diff)
downloadrockbox-54e2facb85.tar.gz
rockbox-54e2facb85.zip
Fix yellow introduced in f7a3b4dfa
Change-Id: I38d53cfe52745762f89fa017dc8199c897379493
-rw-r--r--firmware/drivers/tuner/tea5767.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/tea5767.c b/firmware/drivers/tuner/tea5767.c
index 143cb0576b..4d1e9d67af 100644
--- a/firmware/drivers/tuner/tea5767.c
+++ b/firmware/drivers/tuner/tea5767.c
@@ -64,7 +64,7 @@ int tea5767_set(int setting, int value)
write_bytes[3] |= (1<<4) | (1<<3) | (1<<1);
#else
/* soft mute, stereo noise cancelling */
- write_bytes[3] |= (1<<3) | (1<<1);
+ write_bytes[3] |= (1<<3) | (1<<1);
#endif
/* sleep / standby mode */
tea5767_set_clear(3, (1<<6), value);
@@ -184,7 +184,7 @@ void tea5767_init(void)
tea5767_set(RADIO_MUTE, 1);
int res = fmradio_3wire_read(buf);
res = ((buf[0] == 0) && (buf[1] == 0) && (buf[2] == 0) && (buf[3] == 0)
- && (buf[4] == 0) && (buf[5] == 0)) ? -1 : 1;
+ && (buf[4] == 0)) ? -1 : 1;
/* clear chipid byte - we don't use it here for detection, so it should be */
/* set to zero, to fulfill the condition in "else" block */
buf[3] = 0;