mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 11:32:41 -05:00
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:
parent
eee87c67b0
commit
79225ab7cb
1 changed files with 4 additions and 1 deletions
|
|
@ -370,7 +370,10 @@ bool info_menu(void)
|
|||
#ifdef HAVE_LCD_CHARCELLS
|
||||
static bool do_shutdown(void)
|
||||
{
|
||||
if (!charger_inserted())
|
||||
sys_poweroff();
|
||||
else
|
||||
charging_splash();
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue