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) | |||
97 | #endif | 97 | #endif |
98 | 98 | ||
99 | #ifdef CONFIG_TUNER | 99 | #ifdef CONFIG_TUNER |
100 | if(global_status.radio_status & FMRADIO_PLAYING) | 100 | audio_stat = get_radio_status(); |
101 | if(audio_stat & FMRADIO_PLAYING) | ||
101 | return STATUS_RADIO; | 102 | return STATUS_RADIO; |
102 | 103 | ||
103 | if(global_status.radio_status & FMRADIO_PAUSED) | 104 | if(audio_stat & FMRADIO_PAUSED) |
104 | return STATUS_RADIO_PAUSE; | 105 | return STATUS_RADIO_PAUSE; |
105 | #endif | 106 | #endif |
106 | 107 | ||