forked from len0rd/rockbox
Don't reboot if charger is connected when sleep timer expires, just stop the music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3397 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
050cc90801
commit
b443ba46ec
1 changed files with 2 additions and 2 deletions
|
|
@ -318,8 +318,8 @@ static void handle_auto_poweroff(void)
|
|||
{
|
||||
if(charger_is_inserted)
|
||||
{
|
||||
DEBUGF("Sleep timer timeout. Rebooting...\n");
|
||||
system_reboot();
|
||||
DEBUGF("Sleep timer timeout. Stopping...\n");
|
||||
mpeg_stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue