Fix yellow player build. Sims have no charging...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13080 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
178c565beb
commit
5764ff571a
1 changed files with 2 additions and 0 deletions
|
@ -306,9 +306,11 @@ MENUITEM_RETURNVALUE(bookmarks, ID2P(LANG_BOOKMARK_MENU_RECENT_BOOKMARKS),
|
|||
#ifdef HAVE_LCD_CHARCELLS
|
||||
static int do_shutdown(void)
|
||||
{
|
||||
#if CONFIG_CHARGING
|
||||
if (charger_inserted())
|
||||
charging_splash();
|
||||
else
|
||||
#endif
|
||||
sys_poweroff();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue