forked from len0rd/rockbox
Improved reliability of runtime accounting and speaking it.
Change-Id: I6f0fb907e0378487cec387a2cfd3a20b9a596c4e
This commit is contained in:
parent
4c481d2b0e
commit
2d70fdcd8c
3 changed files with 12 additions and 2 deletions
|
|
@ -295,6 +295,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
{
|
||||
long msg_id = -1;
|
||||
|
||||
status_save();
|
||||
|
||||
#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING)
|
||||
if(!charger_inserted())
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue