From 593cc00447af20197a1b7bc009af205a0f065576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Tue, 28 Sep 2004 22:13:26 +0000 Subject: 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 --- apps/debug_menu.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 26052d0..7a1c2a3 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -51,7 +51,7 @@ #include "widgets.h" #include "peakmeter.h" #endif -#ifdef HAVE_FMRADIO +#ifdef CONFIG_TUNER #include "radio.h" #endif @@ -790,7 +790,7 @@ bool dbg_mas(void) return false; } -#ifdef HAVE_MAS3587F +#if CONFIG_HWCODEC == MAS3587F bool dbg_mas_codec(void) { char buf[32]; @@ -999,7 +999,7 @@ bool view_battery(void) #endif -#ifdef HAVE_MAS3507D +#if CONFIG_HWCODEC == MAS3507D bool dbg_mas_info(void) { int button; @@ -1457,7 +1457,7 @@ bool dbg_save_roms(void) return false; } -#ifdef HAVE_FMRADIO +#ifdef CONFIG_TUNER extern int debug_fm_detection; bool dbg_fm_radio(void) @@ -1535,11 +1535,11 @@ bool debug_menu(void) #endif /* HAVE_LCD_BITMAP */ { "View OS stacks", dbg_os }, { "Catch mem accesses", dbg_set_memory_guard }, -#ifdef HAVE_MAS3507D +#if CONFIG_HWCODEC == MAS3507D { "View MAS info", dbg_mas_info }, #endif { "View MAS regs", dbg_mas }, -#ifdef HAVE_MAS3587F +#if CONFIG_HWCODEC == MAS3587F { "View MAS codec", dbg_mas_codec }, #endif #ifdef HAVE_LCD_BITMAP @@ -1560,7 +1560,7 @@ bool debug_menu(void) #endif /* PM_DEBUG */ #endif /* HAVE_LCD_BITMAP */ { "View runtime", view_runtime }, -#ifdef HAVE_FMRADIO +#ifdef CONFIG_TUNER { "FM Radio", dbg_fm_radio }, #endif }; -- cgit v1.1