summaryrefslogtreecommitdiffstats
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index b19f2eda3c..4d164180dc 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -727,8 +727,7 @@ static bool deep_discharge(void)
{
bool result;
result = set_bool( str(LANG_DISCHARGE), &global_settings.discharge );
- charge_restart_level = global_settings.discharge ?
- CHARGE_RESTART_LO : CHARGE_RESTART_HI;
+ enable_deep_discharge(global_settings.discharge);
return result;
}
static bool trickle_charge(void)