diff options
-rw-r--r-- | firmware/target/arm/as3525/power-as3525.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/firmware/target/arm/as3525/power-as3525.c b/firmware/target/arm/as3525/power-as3525.c index 2fbeab0bc6..3570d7c75a 100644 --- a/firmware/target/arm/as3525/power-as3525.c +++ b/firmware/target/arm/as3525/power-as3525.c | |||
@@ -54,21 +54,14 @@ void ide_power_enable(bool on) | |||
54 | } | 54 | } |
55 | 55 | ||
56 | #if CONFIG_TUNER | 56 | #if CONFIG_TUNER |
57 | static bool tuner_on = false; | ||
58 | |||
59 | bool tuner_power(bool status) | 57 | bool tuner_power(bool status) |
60 | { | 58 | { |
61 | if (status != tuner_on) | 59 | (void) status; |
62 | { | 60 | return true; |
63 | tuner_on = status; | ||
64 | status = !status; | ||
65 | } | ||
66 | |||
67 | return status; | ||
68 | } | 61 | } |
69 | 62 | ||
70 | bool tuner_powered(void) | 63 | bool tuner_powered(void) |
71 | { | 64 | { |
72 | return tuner_on; /* No debug info */ | 65 | return true; |
73 | } | 66 | } |
74 | #endif | 67 | #endif |