Player can't be shut down while connected to the charger.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11289 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-10-21 10:17:53 +00:00
parent eee87c67b0
commit 79225ab7cb

View file

@ -370,7 +370,10 @@ bool info_menu(void)
#ifdef HAVE_LCD_CHARCELLS #ifdef HAVE_LCD_CHARCELLS
static bool do_shutdown(void) static bool do_shutdown(void)
{ {
if (!charger_inserted())
sys_poweroff(); sys_poweroff();
else
charging_splash();
return false; return false;
} }
#endif #endif