From 4e8ef935097cc0571e0eb6e34071753dbb763cfc Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 25 Jul 2010 17:07:56 +0000 Subject: Rockbox as an application: Fix a few yellows git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27558 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index ec30477698..ca06907618 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -460,7 +460,7 @@ static bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device, } #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ -#ifndef SIMULATOR +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) #ifdef CPU_PP static int perfcheck(void) { @@ -663,7 +663,7 @@ static bool dbg_hw_info(void) while (!(action_userabort(TIMEOUT_BLOCK))); -#elif (CONFIG_PLATFORM & PLATFORM_NATIVE) +#else /* Define this function in your target tree */ return __dbg_hw_info(); #endif /* CONFIG_CPU */ @@ -756,7 +756,7 @@ static bool dbg_hw_info(void) return false; } #endif /* !HAVE_LCD_BITMAP */ -#endif /* !SIMULATOR */ +#endif /* PLATFORM_NATIVE */ #if (CONFIG_PLATFORM & PLATFORM_NATIVE) static const char* dbg_partitions_getname(int selected_item, void *data, -- cgit v1.2.3