summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
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 /firmware/powermgmt.c
parent79afbafa669bee52059d980ae887dfa06948c252 (diff)
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 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 35b311a9e8..7d67ec2f5b 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -322,7 +322,7 @@ static void handle_auto_poweroff(void)
if(timeout &&
#ifdef CONFIG_TUNER
- !fmradio_get_status() &&
+ !radio_get_status() &&
#endif
!usb_inserted() &&
(mpeg_stat == 0 ||