Bugfix: Stop running recording when leaving the radio screen with the radio running (FM recorder: ON, Ondio: long OFF)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6156 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-03-06 18:03:01 +00:00
parent 0bf50f02cc
commit 59483d6768

View file

@ -313,6 +313,10 @@ bool radio_screen(void)
#endif /* #ifdef FM_RECORD */
case FM_EXIT:
#ifndef SIMULATOR
if(mpeg_status() == MPEG_STATUS_RECORD)
mpeg_stop();
#endif
done = true;
keep_playing = true;
break;