summaryrefslogtreecommitdiff
path: root/uisimulator/common/fmradio.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/fmradio.c')
-rw-r--r--uisimulator/common/fmradio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/uisimulator/common/fmradio.c b/uisimulator/common/fmradio.c
index 63edd9dd23..279e1b8d23 100644
--- a/uisimulator/common/fmradio.c
+++ b/uisimulator/common/fmradio.c
@@ -26,9 +26,7 @@
26static int frequency = 0; 26static int frequency = 0;
27static bool mono = false; 27static bool mono = false;
28 28
29#ifdef HAVE_TUNER_PWR_CTRL
30static bool powered = false; 29static bool powered = false;
31#endif
32 30
33void tuner_init(void) 31void tuner_init(void)
34{ 32{
@@ -89,13 +87,11 @@ int tuner_get(int setting)
89 return val; 87 return val;
90} 88}
91 89
92#ifdef HAVE_TUNER_PWR_CTRL
93bool tuner_power(bool status) 90bool tuner_power(bool status)
94{ 91{
95 bool oldstatus = powered; 92 bool oldstatus = powered;
96 powered = status; 93 powered = status;
97 return oldstatus; 94 return oldstatus;
98} 95}
99#endif
100 96
101#endif 97#endif