1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2008-04-20 18:28:25 +00:00
parent cea07eb2a4
commit 850a11250a
16 changed files with 100 additions and 16 deletions

View file

@ -63,6 +63,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -71,6 +71,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -58,6 +58,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -62,6 +62,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -62,6 +62,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -58,6 +58,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -58,6 +58,9 @@
/* Define if the device can wake from an RTC alarm */
#define HAVE_RTC_ALARM
/* Define this if you can switch on/off the accessory power supply */
#define HAVE_ACCESSORY_SUPPLY
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

View file

@ -182,5 +182,7 @@ void reset_poweroff_timer(void);
void cancel_shutdown(void);
void shutdown_hw(void);
void sys_poweroff(void);
#ifdef HAVE_ACCESSORY_SUPPLY
void accessory_supply_set(bool);
#endif
#endif