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:
parent
cea07eb2a4
commit
850a11250a
16 changed files with 100 additions and 16 deletions
|
@ -583,6 +583,9 @@ static void init(void)
|
|||
#if CONFIG_CHARGING
|
||||
car_adapter_mode_init();
|
||||
#endif
|
||||
#ifdef HAVE_ACCESSORY_SUPPLY
|
||||
accessory_supply_set(global_settings.accessory_supply);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CPU_PP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue