summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
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
parent360d951271659af590103dd81efb8166f5b226a2 (diff)
downloadrockbox-8a177345ce7b96a00f1f14387412c2dfacfeaf34.tar.gz
rockbox-8a177345ce7b96a00f1f14387412c2dfacfeaf34.tar.bz2
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')
-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 @@
static int frequency = 0;
static bool mono = false;
-#ifdef HAVE_TUNER_PWR_CTRL
static bool powered = false;
-#endif
void tuner_init(void)
{
@@ -89,13 +87,11 @@ int tuner_get(int setting)
return val;
}
-#ifdef HAVE_TUNER_PWR_CTRL
bool tuner_power(bool status)
{
bool oldstatus = powered;
powered = status;
return oldstatus;
}
-#endif
#endif