From d061b371d6f53e0c2f310f4eb5776430772a8ac5 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Thu, 3 Mar 2005 08:32:55 +0000 Subject: 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 --- apps/settings_menu.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'apps/settings_menu.c') 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) #endif #endif -#ifdef HAVE_CHARGE_CTRL -static bool deep_discharge(void) -{ - bool result; - result = set_bool( str(LANG_DISCHARGE), &global_settings.discharge ); - enable_deep_discharge(global_settings.discharge); - return result; -} -static bool trickle_charge(void) -{ - bool result; - result = set_bool( str(LANG_TRICKLE_CHARGE), &global_settings.trickle_charge ); - enable_trickle_charge(global_settings.trickle_charge); - return result; -} -#endif - #ifdef HAVE_RTC static bool timedate_set(void) { @@ -1256,10 +1239,6 @@ static bool battery_settings_menu(void) bool result; static const struct menu_item items[] = { -#ifdef HAVE_CHARGE_CTRL - { ID2P(LANG_DISCHARGE), deep_discharge }, - { ID2P(LANG_TRICKLE_CHARGE), trickle_charge }, -#endif #ifndef SIMULATOR { ID2P(LANG_BATTERY_CAPACITY), battery_capacity }, #if BATTERY_TYPES_COUNT > 1 -- cgit v1.2.3