summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-04-20 18:28:25 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-04-20 18:28:25 +0000
commit850a11250a8c5b6825b080ff843f30fd68cb71f6 (patch)
treed236674a20fccc8002edeafa30d210b5c972327d /apps/settings_list.c
parentcea07eb2a4ddb72d084c7085192521613004a997 (diff)
downloadrockbox-850a11250a8c5b6825b080ff843f30fd68cb71f6.tar.gz
rockbox-850a11250a8c5b6825b080ff843f30fd68cb71f6.zip
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
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index e72b259767..d8b21541d4 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -512,6 +512,10 @@ const struct settings_list settings[] = {
512 OFFON_SETTING(NVRAM(1), car_adapter_mode, 512 OFFON_SETTING(NVRAM(1), car_adapter_mode,
513 LANG_CAR_ADAPTER_MODE, false, "car adapter mode", NULL), 513 LANG_CAR_ADAPTER_MODE, false, "car adapter mode", NULL),
514#endif 514#endif
515#ifdef HAVE_ACCESSORY_SUPPLY
516 OFFON_SETTING(0, accessory_supply, LANG_ACCESSORY_SUPPLY,
517 false, "accessory power supply", accessory_supply_set),
518#endif
515 /* tuner */ 519 /* tuner */
516#if CONFIG_TUNER 520#if CONFIG_TUNER
517 OFFON_SETTING(0,fm_force_mono, LANG_FM_MONO_MODE, 521 OFFON_SETTING(0,fm_force_mono, LANG_FM_MONO_MODE,