summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-h100.h3
-rw-r--r--firmware/export/power.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 5eef2c7270..c60f25651b 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -59,4 +59,7 @@
59#define BOOTFILE_EXT ".iriver" 59#define BOOTFILE_EXT ".iriver"
60#define BOOTFILE "rockbox" BOOTFILE_EXT 60#define BOOTFILE "rockbox" BOOTFILE_EXT
61 61
62/* Define this if you can control the S/PDIF power */
63#define HAVE_SPDIF_POWER
64
62#endif 65#endif
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);
30bool ide_powered(void); 30bool ide_powered(void);
31void power_off(void); 31void power_off(void);
32 32
33#ifdef HAVE_SPDIF_POWER
34void spdif_power_enable(bool on);
35#endif
36
33#ifdef CONFIG_TUNER 37#ifdef CONFIG_TUNER
34/* status values */ 38/* status values */
35#define FMRADIO_OFF 0 /* switched off */ 39#define FMRADIO_OFF 0 /* switched off */