diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-12-29 14:55:49 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-12-29 14:55:49 +0000 |
| commit | 2403f38c1fd8bc35d4d8e4b12047265366fbf1b7 (patch) | |
| tree | da021fed131c9c05512ea7632b059b19ff37b0a7 /firmware/export | |
| parent | ea55ad07b700307b6f66960e08b52d96828ce789 (diff) | |
| download | rockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.zip rockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.tar.gz rockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.tar.bz2 rockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.tar.xz | |
RDS: Use a define that doesn't imply any particular hardware dependency.
Theoretically, anything with the capability could implement the decoding
action in an ISR on any radio chip supporting RDS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31464 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config/gigabeats.h | 2 | ||||
| -rw-r--r-- | firmware/export/si4700.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index 9a34791..481a666 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h @@ -90,7 +90,7 @@ #define CONFIG_TUNER SI4700 #define HAVE_RDS_CAP -#define SI4700_RDS_ASYNC +#define RDS_ISR_PROCESSING /* Define this if you have the WM8978 audio codec */ #define HAVE_WM8978 diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h index fe55dd3..6b7992c 100644 --- a/firmware/export/si4700.h +++ b/firmware/export/si4700.h @@ -46,16 +46,16 @@ bool si4700_st(void); void si4700_rds_init(void); /* Radio is fully powered up or about to be powered down */ void si4700_rds_powerup(bool on); -#ifdef SI4700_RDS_ASYNC +#ifdef RDS_ISR_PROCESSING /* Read raw RDS info for processing - asynchronously */ -void si4700_read_raw_async(int count); +void si4700_read_raw_async(int count); /* implemented by target */ void si4700_rds_read_raw_async(void); void si4700_rds_read_raw_async_complete(unsigned char *regbuf, uint16_t data[4]); -#else +#else /* ndef RDS_ISR_PROCESSING */ /* Read raw RDS info for processing */ bool si4700_rds_read_raw(uint16_t data[4]); -#endif +#endif /* RDS_ISR_PROCESSING */ /* Obtain specified string */ char* si4700_get_rds_info(int setting); /* Set the event flag */ |