diff options
Diffstat (limited to 'uisimulator/common/fmradio.c')
-rw-r--r-- | uisimulator/common/fmradio.c | 4 |
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 @@ | |||
26 | static int frequency = 0; | 26 | static int frequency = 0; |
27 | static bool mono = false; | 27 | static bool mono = false; |
28 | 28 | ||
29 | #ifdef HAVE_TUNER_PWR_CTRL | ||
30 | static bool powered = false; | 29 | static bool powered = false; |
31 | #endif | ||
32 | 30 | ||
33 | void tuner_init(void) | 31 | void 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 | ||
93 | bool tuner_power(bool status) | 90 | bool 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 |