summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/power-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/power-as3525.c')
-rw-r--r--firmware/target/arm/as3525/power-as3525.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/power-as3525.c b/firmware/target/arm/as3525/power-as3525.c
index 07867546c2..2fbeab0bc6 100644
--- a/firmware/target/arm/as3525/power-as3525.c
+++ b/firmware/target/arm/as3525/power-as3525.c
@@ -54,9 +54,21 @@ void ide_power_enable(bool on)
}
#if CONFIG_TUNER
+static bool tuner_on = false;
+
bool tuner_power(bool status)
{
- (void)status;
- return false;
+ if (status != tuner_on)
+ {
+ tuner_on = status;
+ status = !status;
+ }
+
+ return status;
+}
+
+bool tuner_powered(void)
+{
+ return tuner_on; /* No debug info */
}
#endif