forked from len0rd/rockbox
Revert the changes using global status for the screen states. It should wait for a more comprehensive plan to maximize benefit if any can be had.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fe3cfcc9b2
commit
0f17532c9d
9 changed files with 47 additions and 53 deletions
|
|
@ -97,10 +97,11 @@ int current_playmode(void)
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_TUNER
|
||||
if(global_status.radio_status & FMRADIO_PLAYING)
|
||||
audio_stat = get_radio_status();
|
||||
if(audio_stat & FMRADIO_PLAYING)
|
||||
return STATUS_RADIO;
|
||||
|
||||
if(global_status.radio_status & FMRADIO_PAUSED)
|
||||
if(audio_stat & FMRADIO_PAUSED)
|
||||
return STATUS_RADIO_PAUSE;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue