summaryrefslogtreecommitdiff
path: root/apps/status.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-07 04:24:21 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-07 04:24:21 +0000
commiteed62f1657f4f2b08571f0bd2b1827f3a71dac87 (patch)
tree1023d721c59e29150f445bbba25a0e11bed4c1ae /apps/status.c
parentff3bb3aa18e71860d644a50632088ec282968de4 (diff)
downloadrockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.gz
rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.zip
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/status.c')
-rw-r--r--apps/status.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/status.c b/apps/status.c
index 75219d604c..d03cb98157 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -97,12 +97,10 @@ int current_playmode(void)
97#endif 97#endif
98 98
99#ifdef CONFIG_TUNER 99#ifdef CONFIG_TUNER
100 audio_stat = get_radio_status(); 100 if(global_status.radio_status & FMRADIO_PLAYING)
101
102 if(audio_stat & FMRADIO_PLAYING)
103 return STATUS_RADIO; 101 return STATUS_RADIO;
104 102
105 if(audio_stat & FMRADIO_PAUSED) 103 if(global_status.radio_status & FMRADIO_PAUSED)
106 return STATUS_RADIO_PAUSE; 104 return STATUS_RADIO_PAUSE;
107#endif 105#endif
108 106