summaryrefslogtreecommitdiff
path: root/apps/menus/settings_menu.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-20 15:02:29 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-20 15:02:29 +0000
commitb6c12a129e22dadff4be67e5b0fe8993c888d6d8 (patch)
treeee6e855a5d998e3c5bae6d74a86641f3d01ebd50 /apps/menus/settings_menu.c
parent181e0e0878aac10dd9a6651842fbb59c4fed7a9b (diff)
downloadrockbox-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/menus/settings_menu.c')
-rw-r--r--apps/menus/settings_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index 5c30e5982f..b695d9265b 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -251,6 +251,9 @@ MENUITEM_SETTING(serial_bitrate, &global_settings.serial_bitrate, NULL);
251#ifdef HAVE_ACCESSORY_SUPPLY 251#ifdef HAVE_ACCESSORY_SUPPLY
252MENUITEM_SETTING(accessory_supply, &global_settings.accessory_supply, NULL); 252MENUITEM_SETTING(accessory_supply, &global_settings.accessory_supply, NULL);
253#endif 253#endif
254#ifdef HAVE_LINEOUT_POWEROFF
255MENUITEM_SETTING(lineout_onoff, &global_settings.lineout_active, NULL);
256#endif
254MENUITEM_SETTING(start_screen, &global_settings.start_in_screen, NULL); 257MENUITEM_SETTING(start_screen, &global_settings.start_in_screen, NULL);
255#ifdef USB_ENABLE_HID 258#ifdef USB_ENABLE_HID
256MENUITEM_SETTING(usb_hid, &global_settings.usb_hid, NULL); 259MENUITEM_SETTING(usb_hid, &global_settings.usb_hid, NULL);
@@ -299,6 +302,9 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM),
299#ifdef HAVE_ACCESSORY_SUPPLY 302#ifdef HAVE_ACCESSORY_SUPPLY
300 &accessory_supply, 303 &accessory_supply,
301#endif 304#endif
305#ifdef HAVE_LINEOUT_POWEROFF
306 &lineout_onoff,
307#endif
302#ifdef HAVE_BUTTON_LIGHT 308#ifdef HAVE_BUTTON_LIGHT
303 &buttonlight_timeout, 309 &buttonlight_timeout,
304#endif 310#endif