1
0
Fork 0
forked from len0rd/rockbox

Improved reliability of runtime accounting and speaking it.

Change-Id: I6f0fb907e0378487cec387a2cfd3a20b9a596c4e
This commit is contained in:
Solomon Peachy 2019-08-05 22:05:32 -04:00
parent 4c481d2b0e
commit 2d70fdcd8c
3 changed files with 12 additions and 2 deletions

View file

@ -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