diff options
Diffstat (limited to 'firmware/target')
| -rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 28 |
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 4199993..253c904 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; +} |