forked from len0rd/rockbox
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
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
static int do_shutdown(void)
|
static int do_shutdown(void)
|
||||||
{
|
{
|
||||||
|
#if CONFIG_CHARGING
|
||||||
if (charger_inserted())
|
if (charger_inserted())
|
||||||
charging_splash();
|
charging_splash();
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
sys_poweroff();
|
sys_poweroff();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue