diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-02-07 04:24:21 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-02-07 04:24:21 +0000 |
| commit | eed62f1657f4f2b08571f0bd2b1827f3a71dac87 (patch) | |
| tree | 1023d721c59e29150f445bbba25a0e11bed4c1ae /apps/status.c | |
| parent | ff3bb3aa18e71860d644a50632088ec282968de4 (diff) | |
| download | rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.zip rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.gz rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.bz2 rockbox-eed62f1657f4f2b08571f0bd2b1827f3a71dac87.tar.xz | |
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.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/status.c b/apps/status.c index 75219d6..d03cb98 100644 --- a/apps/status.c +++ b/apps/status.c @@ -97,12 +97,10 @@ int current_playmode(void) #endif #ifdef CONFIG_TUNER - audio_stat = get_radio_status(); - - if(audio_stat & FMRADIO_PLAYING) + if(global_status.radio_status & FMRADIO_PLAYING) return STATUS_RADIO; - if(audio_stat & FMRADIO_PAUSED) + if(global_status.radio_status & FMRADIO_PAUSED) return STATUS_RADIO_PAUSE; #endif |