diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2021-11-15 20:46:28 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-11-18 16:44:21 -0500 |
commit | de0346065b415e03efad5746ffdee99d607a0d3c (patch) | |
tree | 87397e0435d5e9dcf03af7ef81c80a777e2f6fd1 /firmware/export/config.h | |
parent | 701d4ba77e61984a71ddbf552193e5567be4e3af (diff) | |
download | rockbox-de0346065b415e03efad5746ffdee99d607a0d3c.tar.gz rockbox-de0346065b415e03efad5746ffdee99d607a0d3c.zip |
Sansa Clip+: add RDS support
Based on a patch by Amaury Pouly which was based on a patch from Ryan
Hitchman.
I mainly moved the code for polling into the tuner driver so it can be
reused by other targets. I added the CONFIG parameter for the polling
frequency (in ticks) to save energy. Also, I did some minor cleanups.
Change-Id: I95a62e7e1e42c62dbf47ecb27a3b312a42be62aa
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index e887796acc..52f647f2fa 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -718,6 +718,7 @@ Lyre prototype 1 */ | |||
718 | #define RDS_CFG_ISR 0x1 /* uses ISR to process packets */ | 718 | #define RDS_CFG_ISR 0x1 /* uses ISR to process packets */ |
719 | #define RDS_CFG_PROCESS 0x2 /* uses raw packet processing */ | 719 | #define RDS_CFG_PROCESS 0x2 /* uses raw packet processing */ |
720 | #define RDS_CFG_PUSH 0x4 /* pushes processed information */ | 720 | #define RDS_CFG_PUSH 0x4 /* pushes processed information */ |
721 | #define RDS_CFG_POLL 0x8 /* tuner driver provides a polling function */ | ||
721 | #ifndef CONFIG_RDS | 722 | #ifndef CONFIG_RDS |
722 | #define CONFIG_RDS RDS_CFG_PROCESS /* thread processing+raw processing */ | 723 | #define CONFIG_RDS RDS_CFG_PROCESS /* thread processing+raw processing */ |
723 | #endif /* CONFIG_RDS */ | 724 | #endif /* CONFIG_RDS */ |