diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/ipodvideo.h | 3 | ||||
-rw-r--r-- | firmware/export/powermgmt.h | 3 | ||||
-rw-r--r-- | firmware/export/wm8758.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h index a8d2220b8c..eec513320a 100644 --- a/firmware/export/config/ipodvideo.h +++ b/firmware/export/config/ipodvideo.h | |||
@@ -77,6 +77,9 @@ | |||
77 | /* Define this if you can switch on/off the accessory power supply */ | 77 | /* Define this if you can switch on/off the accessory power supply */ |
78 | #define HAVE_ACCESSORY_SUPPLY | 78 | #define HAVE_ACCESSORY_SUPPLY |
79 | 79 | ||
80 | /* Define this, if you can switch on/off the lineout */ | ||
81 | #define HAVE_LINEOUT_POWEROFF | ||
82 | |||
80 | /* Define this if you have a software controlled poweroff */ | 83 | /* Define this if you have a software controlled poweroff */ |
81 | #define HAVE_SW_POWEROFF | 84 | #define HAVE_SW_POWEROFF |
82 | 85 | ||
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index 17519c5bfd..d86118cd9b 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h | |||
@@ -174,5 +174,8 @@ bool query_force_shutdown(void); | |||
174 | #ifdef HAVE_ACCESSORY_SUPPLY | 174 | #ifdef HAVE_ACCESSORY_SUPPLY |
175 | void accessory_supply_set(bool); | 175 | void accessory_supply_set(bool); |
176 | #endif | 176 | #endif |
177 | #ifdef HAVE_LINEOUT_POWEROFF | ||
178 | void lineout_set(bool); | ||
179 | #endif | ||
177 | 180 | ||
178 | #endif /* _POWERMGMT_H_ */ | 181 | #endif /* _POWERMGMT_H_ */ |
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h index 9d1a938162..50cbc74e9a 100644 --- a/firmware/export/wm8758.h +++ b/firmware/export/wm8758.h | |||
@@ -34,6 +34,7 @@ extern int tenthdb2mixer(int db); | |||
34 | extern void audiohw_set_master_vol(int vol_l, int vol_r); | 34 | extern void audiohw_set_master_vol(int vol_l, int vol_r); |
35 | extern void audiohw_set_lineout_vol(int vol_l, int vol_r); | 35 | extern void audiohw_set_lineout_vol(int vol_l, int vol_r); |
36 | extern void audiohw_set_mixer_vol(int channel1, int channel2); | 36 | extern void audiohw_set_mixer_vol(int channel1, int channel2); |
37 | extern void audiohw_enable_lineout(bool enable); | ||
37 | 38 | ||
38 | #define RESET 0x00 | 39 | #define RESET 0x00 |
39 | #define RESET_RESET 0x0 | 40 | #define RESET_RESET 0x0 |