summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-10-17 08:53:18 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-10-17 08:53:18 +0000
commit91f9350cbde2653034840fc930749e2b1f9af9c7 (patch)
tree4c669ffda33c468e22266d3b3bb9587b47ff706f /apps/recorder
parent79afbafa669bee52059d980ae887dfa06948c252 (diff)
downloadrockbox-91f9350cbde2653034840fc930749e2b1f9af9c7.tar.gz
rockbox-91f9350cbde2653034840fc930749e2b1f9af9c7.zip
moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/radio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 8eaff1d917..45a02d5332 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -49,6 +49,7 @@
#include "talk.h"
#include "tuner.h"
#include "hwcompat.h"
+#include "power.h"
#ifdef CONFIG_TUNER
@@ -168,7 +169,7 @@ bool radio_screen(void)
lcd_clear_display();
lcd_setmargins(0, 8);
status_draw(true);
- fmradio_set_status(FMRADIO_PLAYING);
+ radio_set_status(FMRADIO_PLAYING);
font_get(FONT_UI);
lcd_getstringsize("M", &fw, &fh);
@@ -405,7 +406,7 @@ bool radio_screen(void)
if(mpeg_status() != MPEG_STATUS_RECORD)
{
default_event_handler(SYS_USB_CONNECTED);
- fmradio_set_status(0);
+ radio_set_status(0);
screen_freeze = true; /* Cosmetic: makes sure the
radio screen doesn't redraw */
done = true;
@@ -529,7 +530,7 @@ bool radio_screen(void)
sound_settings_apply();
- fmradio_set_status(0);
+ radio_set_status(0);
if(keep_playing)
{