summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-11-03 20:14:01 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-11-06 21:37:06 +0100
commit0fe7b8becf26816eb303626addc8d34821e361f3 (patch)
treecb8fcd990d5aa3a55212b60e2a3d2282f8f92bff /apps/debug_menu.c
parentee2eb13b7407841e9c0dbc76d18878b241d3e9f2 (diff)
downloadrockbox-0fe7b8becf26816eb303626addc8d34821e361f3.zip
rockbox-0fe7b8becf26816eb303626addc8d34821e361f3.tar.gz
rockbox-0fe7b8becf26816eb303626addc8d34821e361f3.tar.bz2
rockbox-0fe7b8becf26816eb303626addc8d34821e361f3.tar.xz
nwzlinux: add support for radio
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 0a1ceee..1cccdfb 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -71,14 +71,12 @@
#if (CONFIG_STORAGE & STORAGE_ATA)
#include "ata.h"
#endif
-#if CONFIG_TUNER
-#include "tuner.h"
-#include "radio.h"
-#endif
#endif /* CONFIG_PLATFORM & PLATFORM_NATIVE */
#include "power.h"
-#if (defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) && defined(CONFIG_TUNER)
+#if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) \
+ || defined(SONY_NWZ_LINUX)) \
+ && defined(CONFIG_TUNER)
#include "tuner.h"
#include "radio.h"
#endif