diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-02-11 23:16:39 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-02-11 23:16:39 -0500 |
commit | 523ef4edbdccf8198fbb7787afba2fe3f46f1ca8 (patch) | |
tree | 3238ca1502c92ce2078ff58a6f2a2589eaa68a95 /firmware/drivers | |
parent | fc9695eb47732e1c189e2f033dbd55e5c346e8c4 (diff) |
Fix warnings and errors from fc9695e
* fmradio.c needs an implementation of tuner_get_rds_info() for the
sim (kill all the sims).
* Some macro bitflags shouldn't be seen unless HAVE_RDS_CAP is
defined.
Change-Id: Idd00c94ca2fc43cf32f9223aa4530d5a02fb3454
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/tuner/si4700.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/tuner/si4700.c b/firmware/drivers/tuner/si4700.c index c7d942f293..af5795a83f 100644 --- a/firmware/drivers/tuner/si4700.c +++ b/firmware/drivers/tuner/si4700.c @@ -28,7 +28,9 @@ #include "tuner.h" /* tuner abstraction interface */ #include "fmradio.h" #include "fmradio_i2c.h" /* physical interface driver */ +#ifdef HAVE_RDS_CAP #include "rds.h" +#endif #if defined(SANSA_CLIP) || defined(SANSA_E200V2) || defined(SANSA_FUZE) || defined(SANSA_C200V2) \ || defined(SANSA_FUZEPLUS) |