summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-03-03 08:32:55 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-03-03 08:32:55 +0000
commitd061b371d6f53e0c2f310f4eb5776430772a8ac5 (patch)
tree611417c1cf40f66fe4d7c48e976ab3a26fbb1a22 /apps/settings_menu.c
parentac79a0c42b19c4c3139afee467672d6e6c5b1c06 (diff)
downloadrockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.tar.gz
rockbox-d061b371d6f53e0c2f310f4eb5776430772a8ac5.zip
removed the practically useless "trickle charge" and "deep discharge" options, now trickle is always on and deep always off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 4d164180dc..bc87ec141d 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -722,23 +722,6 @@ static bool battery_type(void)
722#endif 722#endif
723#endif 723#endif
724 724
725#ifdef HAVE_CHARGE_CTRL
726static bool deep_discharge(void)
727{
728 bool result;
729 result = set_bool( str(LANG_DISCHARGE), &global_settings.discharge );
730 enable_deep_discharge(global_settings.discharge);
731 return result;
732}
733static bool trickle_charge(void)
734{
735 bool result;
736 result = set_bool( str(LANG_TRICKLE_CHARGE), &global_settings.trickle_charge );
737 enable_trickle_charge(global_settings.trickle_charge);
738 return result;
739}
740#endif
741
742#ifdef HAVE_RTC 725#ifdef HAVE_RTC
743static bool timedate_set(void) 726static bool timedate_set(void)
744{ 727{
@@ -1256,10 +1239,6 @@ static bool battery_settings_menu(void)
1256 bool result; 1239 bool result;
1257 1240
1258 static const struct menu_item items[] = { 1241 static const struct menu_item items[] = {
1259#ifdef HAVE_CHARGE_CTRL
1260 { ID2P(LANG_DISCHARGE), deep_discharge },
1261 { ID2P(LANG_TRICKLE_CHARGE), trickle_charge },
1262#endif
1263#ifndef SIMULATOR 1242#ifndef SIMULATOR
1264 { ID2P(LANG_BATTERY_CAPACITY), battery_capacity }, 1243 { ID2P(LANG_BATTERY_CAPACITY), battery_capacity },
1265#if BATTERY_TYPES_COUNT > 1 1244#if BATTERY_TYPES_COUNT > 1