diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-03-20 15:02:29 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-03-20 15:02:29 +0000 |
commit | b6c12a129e22dadff4be67e5b0fe8993c888d6d8 (patch) | |
tree | ee6e855a5d998e3c5bae6d74a86641f3d01ebd50 /apps/main.c | |
parent | 181e0e0878aac10dd9a6651842fbb59c4fed7a9b (diff) | |
download | rockbox-b6c12a129e22dadff4be67e5b0fe8993c888d6d8.tar.gz rockbox-b6c12a129e22dadff4be67e5b0fe8993c888d6d8.zip |
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
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index fa1500edd5..7c43c0c277 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -632,6 +632,9 @@ static void init(void) | |||
632 | #ifdef HAVE_ACCESSORY_SUPPLY | 632 | #ifdef HAVE_ACCESSORY_SUPPLY |
633 | accessory_supply_set(global_settings.accessory_supply); | 633 | accessory_supply_set(global_settings.accessory_supply); |
634 | #endif | 634 | #endif |
635 | #ifdef HAVE_LINEOUT_POWEROFF | ||
636 | lineout_set(global_settings.lineout_active); | ||
637 | #endif | ||
635 | #ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN | 638 | #ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN |
636 | check_bootfile(false); /* remember write time and filesize */ | 639 | check_bootfile(false); /* remember write time and filesize */ |
637 | #endif | 640 | #endif |