diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-04-20 18:28:25 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-04-20 18:28:25 +0000 |
commit | 850a11250a8c5b6825b080ff843f30fd68cb71f6 (patch) | |
tree | d236674a20fccc8002edeafa30d210b5c972327d /firmware/export/powermgmt.h | |
parent | cea07eb2a4ddb72d084c7085192521613004a997 (diff) | |
download | rockbox-850a11250a8c5b6825b080ff843f30fd68cb71f6.tar.gz rockbox-850a11250a8c5b6825b080ff843f30fd68cb71f6.zip |
Adding new setting to System Settings <Accessory Power Supply -- off by default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17193 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r-- | firmware/export/powermgmt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index 56e14b3741..4b8d239974 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h | |||
@@ -182,5 +182,7 @@ void reset_poweroff_timer(void); | |||
182 | void cancel_shutdown(void); | 182 | void cancel_shutdown(void); |
183 | void shutdown_hw(void); | 183 | void shutdown_hw(void); |
184 | void sys_poweroff(void); | 184 | void sys_poweroff(void); |
185 | 185 | #ifdef HAVE_ACCESSORY_SUPPLY | |
186 | void accessory_supply_set(bool); | ||
187 | #endif | ||
186 | #endif | 188 | #endif |