summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/x5
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-07-21 09:24:17 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-07-21 09:24:17 +0000
commiteec48a8956ce56be02e67ea9097e4c171bece995 (patch)
tree3156fbb165dcd8eb992c5a22cc7f1bc9f166a45d /firmware/target/coldfire/iaudio/x5
parent49b29dd91e25e1db54b2105af5c84862ee8c1a80 (diff)
iAudio X5: Fix sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5')
-rw-r--r--firmware/target/coldfire/iaudio/x5/power-x5.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/power-x5.c b/firmware/target/coldfire/iaudio/x5/power-x5.c
index 4199993637..253c904588 100644
--- a/firmware/target/coldfire/iaudio/x5/power-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/power-x5.c
@@ -64,20 +64,6 @@ void power_off(void)
yield();
}
-static bool powered = false;
-
-bool radio_powered()
-{
- return powered;
-}
-
-bool radio_power(bool status)
-{
- bool old_status = powered;
- powered = status;
- return old_status;
-}
-
#else
bool charger_inserted(void)
@@ -100,3 +86,17 @@ void ide_power_enable(bool on)
}
#endif /* SIMULATOR */
+
+static bool powered = false;
+
+bool radio_powered()
+{
+ return powered;
+}
+
+bool radio_power(bool status)
+{
+ bool old_status = powered;
+ powered = status;
+ return old_status;
+}