Fix yelllow Player sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11291 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b990d4f26b
commit
aa04016745
1 changed files with 5 additions and 3 deletions
|
@ -370,10 +370,12 @@ bool info_menu(void)
|
|||
#ifdef HAVE_LCD_CHARCELLS
|
||||
static bool do_shutdown(void)
|
||||
{
|
||||
if (!charger_inserted())
|
||||
sys_poweroff();
|
||||
else
|
||||
#ifndef SIMULATOR
|
||||
if (charger_inserted())
|
||||
charging_splash();
|
||||
else
|
||||
#endif
|
||||
sys_poweroff();
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue