summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-06-16 06:53:14 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-06-16 06:53:14 +0000
commitda4089d8362cedb4f7297635c436273746923b8a (patch)
treeb8a000fe0ff291d54275e1e0d40af121128bcebb /firmware/drivers/tuner
parent46e1231a446b6adb002808ee83ace9c9be95d5e2 (diff)
FM clip+ radio: enable stereo indication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26867 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/tuner')
-rw-r--r--firmware/drivers/tuner/fmclipplus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/fmclipplus.c b/firmware/drivers/tuner/fmclipplus.c
index 4badfba08f..1922662d78 100644
--- a/firmware/drivers/tuner/fmclipplus.c
+++ b/firmware/drivers/tuner/fmclipplus.c
@@ -76,6 +76,7 @@
#define READCHAN_READCHAN (0x3ff << 0)
#define READCHAN_READCHANr(x) (((x) & READCHAN_READCHAN) >> 0)
#define READCHAN_STC (0x1 << 14)
+#define READCHAN_ST (0x1 << 10)
/* STATUSRSSI (0xB) */
#define STATUSRSSI_RSSI (0x3F << 10)
@@ -251,8 +252,7 @@ static void fmclipplus_set_region(int region)
static bool fmclipplus_st(void)
{
- /* TODO not implemented yet */
- return false;
+ return (fmclipplus_read_reg(READCHAN) & READCHAN_ST);
}
/* tuner abstraction layer: set something to the tuner */