From 91f9350cbde2653034840fc930749e2b1f9af9c7 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sun, 17 Oct 2004 08:53:18 +0000 Subject: 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 --- apps/recorder/radio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/recorder') 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) { -- cgit