forked from len0rd/rockbox
Reset playing variables when usb connected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1f48140fb9
commit
18261c94ca
1 changed files with 2 additions and 0 deletions
|
|
@ -1823,6 +1823,8 @@ static void mpeg_thread(void)
|
|||
break;
|
||||
|
||||
case SYS_USB_CONNECTED:
|
||||
is_playing = false;
|
||||
paused = false;
|
||||
stop_playing();
|
||||
#ifndef SIMULATOR
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue