summaryrefslogtreecommitdiff
path: root/uisimulator/common/fmradio.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-08-14 22:06:23 +0000
committerJens Arnold <amiconn@rockbox.org>2007-08-14 22:06:23 +0000
commit8a177345ce7b96a00f1f14387412c2dfacfeaf34 (patch)
treefbb8dfa828cf578d535e3d77deebf077b24d2970 /uisimulator/common/fmradio.c
parent360d951271659af590103dd81efb8166f5b226a2 (diff)
downloadrockbox-8a177345ce7b96a00f1f14387412c2dfacfeaf34.tar.gz
rockbox-8a177345ce7b96a00f1f14387412c2dfacfeaf34.zip
Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
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