summaryrefslogtreecommitdiffstats
path: root/firmware/export/power.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-11 11:17:31 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-11 11:17:31 +0000
commite6bc6c482951851020e0e3b36e878bdae2b61249 (patch)
tree7f87da56c08f701345691df1e0edc09f6e207bc5 /firmware/export/power.h
parent2c6a47270711142956e229bc23a9eb564b415f51 (diff)
downloadrockbox-e6bc6c482951851020e0e3b36e878bdae2b61249.tar.gz
rockbox-e6bc6c482951851020e0e3b36e878bdae2b61249.tar.bz2
rockbox-e6bc6c482951851020e0e3b36e878bdae2b61249.zip
iRiver: Implemented S/PDIF transmit power control. The optical LED is now off by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/power.h')
-rw-r--r--firmware/export/power.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/power.h b/firmware/export/power.h
index eea3648053..f0c4c302ea 100644
--- a/firmware/export/power.h
+++ b/firmware/export/power.h
@@ -30,6 +30,10 @@ void ide_power_enable(bool on);
bool ide_powered(void);
void power_off(void);
+#ifdef HAVE_SPDIF_POWER
+void spdif_power_enable(bool on);
+#endif
+
#ifdef CONFIG_TUNER
/* status values */
#define FMRADIO_OFF 0 /* switched off */