summaryrefslogtreecommitdiff
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-54e2facb8533358e06b2716753e12865c471c2be.tar.gz
rockbox-54e2facb8533358e06b2716753e12865c471c2be.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)
64 write_bytes[3] |= (1<<4) | (1<<3) | (1<<1); 64 write_bytes[3] |= (1<<4) | (1<<3) | (1<<1);
65#else 65#else
66 /* soft mute, stereo noise cancelling */ 66 /* soft mute, stereo noise cancelling */
67 write_bytes[3] |= (1<<3) | (1<<1); 67 write_bytes[3] |= (1<<3) | (1<<1);
68#endif 68#endif
69 /* sleep / standby mode */ 69 /* sleep / standby mode */
70 tea5767_set_clear(3, (1<<6), value); 70 tea5767_set_clear(3, (1<<6), value);
@@ -184,7 +184,7 @@ void tea5767_init(void)
184 tea5767_set(RADIO_MUTE, 1); 184 tea5767_set(RADIO_MUTE, 1);
185 int res = fmradio_3wire_read(buf); 185 int res = fmradio_3wire_read(buf);
186 res = ((buf[0] == 0) && (buf[1] == 0) && (buf[2] == 0) && (buf[3] == 0) 186 res = ((buf[0] == 0) && (buf[1] == 0) && (buf[2] == 0) && (buf[3] == 0)
187 && (buf[4] == 0) && (buf[5] == 0)) ? -1 : 1; 187 && (buf[4] == 0)) ? -1 : 1;
188 /* clear chipid byte - we don't use it here for detection, so it should be */ 188 /* clear chipid byte - we don't use it here for detection, so it should be */
189 /* set to zero, to fulfill the condition in "else" block */ 189 /* set to zero, to fulfill the condition in "else" block */
190 buf[3] = 0; 190 buf[3] = 0;