summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx767
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-01 21:21:29 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-01 21:21:29 +0000
commitaa7d43f7a61998080be228f94aa3d26b5c1dfbc5 (patch)
tree56a22122d8924a52a57450569c46294fdeee15f6 /firmware/target/mips/ingenic_jz47xx/onda_vx767
parentc1c3d05961388114779c6fd8316ab1d081a3b4b1 (diff)
downloadrockbox-aa7d43f7a61998080be228f94aa3d26b5c1dfbc5.tar.gz
rockbox-aa7d43f7a61998080be228f94aa3d26b5c1dfbc5.tar.bz2
rockbox-aa7d43f7a61998080be228f94aa3d26b5c1dfbc5.zip
Fix reds & yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21162 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c
index 8d007e292a..8412b203f4 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c
@@ -39,3 +39,22 @@ bool charging_state(void)
{
return false;
}
+
+#if CONFIG_TUNER
+static bool tuner_on = false;
+bool tuner_power(bool status)
+{
+ if (status != tuner_on)
+ {
+ tuner_on = status;
+ status = !status;
+ }
+
+ return status;
+}
+
+bool tuner_powered(void)
+{
+ return tuner_on;
+}
+#endif