diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-08-14 22:06:23 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-08-14 22:06:23 +0000 |
commit | 8a177345ce7b96a00f1f14387412c2dfacfeaf34 (patch) | |
tree | fbb8dfa828cf578d535e3d77deebf077b24d2970 /uisimulator/common/fmradio.c | |
parent | 360d951271659af590103dd81efb8166f5b226a2 (diff) | |
download | rockbox-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.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 |