diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, | |||
460 | } | 460 | } |
461 | #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ | 461 | #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ |
462 | 462 | ||
463 | #ifndef SIMULATOR | 463 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
464 | #ifdef CPU_PP | 464 | #ifdef CPU_PP |
465 | static int perfcheck(void) | 465 | static int perfcheck(void) |
466 | { | 466 | { |
@@ -663,7 +663,7 @@ static bool dbg_hw_info(void) | |||
663 | 663 | ||
664 | while (!(action_userabort(TIMEOUT_BLOCK))); | 664 | while (!(action_userabort(TIMEOUT_BLOCK))); |
665 | 665 | ||
666 | #elif (CONFIG_PLATFORM & PLATFORM_NATIVE) | 666 | #else |
667 | /* Define this function in your target tree */ | 667 | /* Define this function in your target tree */ |
668 | return __dbg_hw_info(); | 668 | return __dbg_hw_info(); |
669 | #endif /* CONFIG_CPU */ | 669 | #endif /* CONFIG_CPU */ |
@@ -756,7 +756,7 @@ static bool dbg_hw_info(void) | |||
756 | return false; | 756 | return false; |
757 | } | 757 | } |
758 | #endif /* !HAVE_LCD_BITMAP */ | 758 | #endif /* !HAVE_LCD_BITMAP */ |
759 | #endif /* !SIMULATOR */ | 759 | #endif /* PLATFORM_NATIVE */ |
760 | 760 | ||
761 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 761 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
762 | static const char* dbg_partitions_getname(int selected_item, void *data, | 762 | static const char* dbg_partitions_getname(int selected_item, void *data, |