summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/power-as3525.c13
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
57static bool tuner_on = false;
58
59bool tuner_power(bool status) 57bool 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
70bool tuner_powered(void) 63bool tuner_powered(void)
71{ 64{
72 return tuner_on; /* No debug info */ 65 return true;
73} 66}
74#endif 67#endif