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 /firmware/target/coldfire | |
parent | 360d951271659af590103dd81efb8166f5b226a2 (diff) |
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 'firmware/target/coldfire')
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 12 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/h100/power-h100.c | 12 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/h300/power-h300.c | 12 |
3 files changed, 6 insertions, 30 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/power-x5.c b/firmware/target/coldfire/iaudio/x5/power-x5.c index 76d612334b..cfcb384a24 100644 --- a/firmware/target/coldfire/iaudio/x5/power-x5.c +++ b/firmware/target/coldfire/iaudio/x5/power-x5.c @@ -67,16 +67,8 @@ void power_off(void) #endif /* SIMULATOR */ -static bool powered = false; - -bool tuner_powered() -{ - return powered; -} - bool tuner_power(bool status) { - bool old_status = powered; - powered = status; - return old_status; + (void)status; + return true; } diff --git a/firmware/target/coldfire/iriver/h100/power-h100.c b/firmware/target/coldfire/iriver/h100/power-h100.c index 27000ebf8a..5dc8618cc6 100644 --- a/firmware/target/coldfire/iriver/h100/power-h100.c +++ b/firmware/target/coldfire/iriver/h100/power-h100.c @@ -27,18 +27,10 @@ #if CONFIG_TUNER -static bool powered = false; - -bool tuner_powered(void) -{ - return powered; -} - bool tuner_power(bool status) { - bool old_status = powered; - powered = status; - return old_status; + (void)status; + return true; } #endif /* #if CONFIG_TUNER */ diff --git a/firmware/target/coldfire/iriver/h300/power-h300.c b/firmware/target/coldfire/iriver/h300/power-h300.c index b687b29cba..21c723da8e 100644 --- a/firmware/target/coldfire/iriver/h300/power-h300.c +++ b/firmware/target/coldfire/iriver/h300/power-h300.c @@ -27,18 +27,10 @@ #if CONFIG_TUNER -static bool powered = false; - -bool tuner_powered(void) -{ - return powered; -} - bool tuner_power(bool status) { - bool old_status = powered; - powered = status; - return old_status; + (void)status; + return true; } #endif /* #if CONFIG_TUNER */ |