diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-08-05 22:05:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-08-06 04:47:20 +0200 |
commit | 2d70fdcd8c6f4fc30c06d07299d6b499389456b8 (patch) | |
tree | aa16de91240b5568dd9395410873ea371f182e2e /apps/misc.c | |
parent | 4c481d2b0e8443ff5ae2cbb62a3b3065c0c0106a (diff) | |
download | rockbox-2d70fdcd8c6f4fc30c06d07299d6b499389456b8.tar.gz rockbox-2d70fdcd8c6f4fc30c06d07299d6b499389456b8.zip |
Improved reliability of runtime accounting and speaking it.
Change-Id: I6f0fb907e0378487cec387a2cfd3a20b9a596c4e
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c index b9d6bfb1d9..501237e616 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -295,6 +295,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) | |||
295 | { | 295 | { |
296 | long msg_id = -1; | 296 | long msg_id = -1; |
297 | 297 | ||
298 | status_save(); | ||
299 | |||
298 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) | 300 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) |
299 | if(!charger_inserted()) | 301 | if(!charger_inserted()) |
300 | #endif | 302 | #endif |