summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
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