summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2021-11-18 09:14:37 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-11-18 16:53:57 -0500
commit336ea51af65c8511ba38f0c3ccfdf7634b87c12d (patch)
treec2c2f4a946c2e4fa9d89be94e259c4100c6edc29 /firmware/export
parentde0346065b415e03efad5746ffdee99d607a0d3c (diff)
downloadrockbox-336ea51af65c8511ba38f0c3ccfdf7634b87c12d.tar.gz
rockbox-336ea51af65c8511ba38f0c3ccfdf7634b87c12d.zip
WIP: Samsung YPR0/1: switch to generic SI47xx polling
Should work(tm). But I don't have the hardware, so it needs to be tested. Change-Id: Ic086434f570dcddacb5b7e7a1acce4b8cafc5c03
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/samsungypr0.h2
-rw-r--r--firmware/export/config/samsungypr1.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index e29ea6a974..520eb08d01 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -105,6 +105,8 @@
#define CONFIG_TUNER SI4700
#define HAVE_TUNER_PWR_CTRL
#define HAVE_RDS_CAP
+#define CONFIG_RDS (RDS_CFG_POLL | RDS_CFG_PROCESS)
+#define CONFIG_RDS_POLL_TICKS 4
/* Define this for FM radio input available */
#define HAVE_FMRADIO_IN
diff --git a/firmware/export/config/samsungypr1.h b/firmware/export/config/samsungypr1.h
index d091e3ed1e..50abfa323e 100644
--- a/firmware/export/config/samsungypr1.h
+++ b/firmware/export/config/samsungypr1.h
@@ -150,6 +150,8 @@
#define CONFIG_TUNER SI4700
#define HAVE_TUNER_PWR_CTRL
#define HAVE_RDS_CAP
+#define CONFIG_RDS (RDS_CFG_POLL | RDS_CFG_PROCESS)
+#define CONFIG_RDS_POLL_TICKS 4
/* Define this for FM radio input available */
#define HAVE_FMRADIO_IN