diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-02-08 10:36:49 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-02-08 10:36:49 +0000 |
commit | 0f17532c9ddb2282c385ce6ad501a2e5d94acbe5 (patch) | |
tree | 02df2cb3f274e9106c21abf1926441bd7f3429c3 /apps/status.c | |
parent | fe3cfcc9b2b0ce5f0862f891762794ddf42bb6ab (diff) | |
download | rockbox-0f17532c9ddb2282c385ce6ad501a2e5d94acbe5.tar.gz rockbox-0f17532c9ddb2282c385ce6ad501a2e5d94acbe5.zip |
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
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/status.c b/apps/status.c index d03cb98157..3f46607ed1 100644 --- a/apps/status.c +++ b/apps/status.c @@ -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 |