Clear all screens before the shutdown splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9786 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9ca16a66bf
commit
5074ec0037
1 changed files with 4 additions and 1 deletions
|
@ -488,6 +488,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
(void)parameter;
|
||||
exit(0);
|
||||
#else
|
||||
int i;
|
||||
|
||||
if (tagcache_get_commit_step() > 0)
|
||||
{
|
||||
cancel_shutdown();
|
||||
|
@ -499,7 +501,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
if(!charger_inserted())
|
||||
#endif
|
||||
{
|
||||
lcd_clear_display();
|
||||
FOR_NB_SCREENS(i)
|
||||
screens[i].clear_display();
|
||||
gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN));
|
||||
if (callback != NULL)
|
||||
callback(parameter);
|
||||
|
|
Loading…
Reference in a new issue