summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index bd969df..a574896 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -663,7 +663,7 @@ static bool dbg_hw_info(void)
while (!(action_userabort(TIMEOUT_BLOCK)));
-#else
+#elif (CONFIG_PLATFORM & PLATFORM_NATIVE)
/* Define this function in your target tree */
return __dbg_hw_info();
#endif /* CONFIG_CPU */