summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-28 22:13:26 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-28 22:13:26 +0000
commit593cc00447af20197a1b7bc009af205a0f065576 (patch)
treef1793614a17b4e654d26b0c95b7842616ed8d919 /firmware/powermgmt.c
parente6f83b695056d0afd7f76377d9d5fcbc4ac02dbc (diff)
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 6a72a2c613..155d11e609 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -34,7 +34,7 @@
#include "usb.h"
#include "powermgmt.h"
#include "backlight.h"
-#ifdef HAVE_FMRADIO
+#ifdef CONFIG_TUNER
#include "fmradio.h"
#endif
@@ -315,7 +315,7 @@ static void handle_auto_poweroff(void)
charger_was_inserted = charger_is_inserted;
if(timeout &&
-#ifdef HAVE_FMRADIO
+#ifdef CONFIG_TUNER
!fmradio_get_status() &&
#endif
!usb_inserted() &&