diff options
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5')
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 12 |
1 files changed, 2 insertions, 10 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) | |||
67 | 67 | ||
68 | #endif /* SIMULATOR */ | 68 | #endif /* SIMULATOR */ |
69 | 69 | ||
70 | static bool powered = false; | ||
71 | |||
72 | bool tuner_powered() | ||
73 | { | ||
74 | return powered; | ||
75 | } | ||
76 | |||
77 | bool tuner_power(bool status) | 70 | bool tuner_power(bool status) |
78 | { | 71 | { |
79 | bool old_status = powered; | 72 | (void)status; |
80 | powered = status; | 73 | return true; |
81 | return old_status; | ||
82 | } | 74 | } |