summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index e10fceb9af..21a45037ad 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -306,6 +306,12 @@ static bool clean_shutdown(enum shutdown_type sd_type,
306{ 306{
307 long msg_id = -1; 307 long msg_id = -1;
308 308
309 if (!global_settings.show_shutdown_message && get_sleep_timer_active())
310 {
311 talk_force_shutup();
312 talk_disable(true);
313 }
314
309 status_save(); 315 status_save();
310 316
311#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) 317#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING)