forked from len0rd/rockbox
Submit FS#11065. Introduce a new system setting for en-/disabling the Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25257 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
181e0e0878
commit
b6c12a129e
13 changed files with 85 additions and 1 deletions
|
|
@ -632,6 +632,9 @@ static void init(void)
|
|||
#ifdef HAVE_ACCESSORY_SUPPLY
|
||||
accessory_supply_set(global_settings.accessory_supply);
|
||||
#endif
|
||||
#ifdef HAVE_LINEOUT_POWEROFF
|
||||
lineout_set(global_settings.lineout_active);
|
||||
#endif
|
||||
#ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN
|
||||
check_bootfile(false); /* remember write time and filesize */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue