summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index b8b692e60c..e9285058d3 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -40,9 +40,11 @@
#include "icons.h"
#ifndef SIMULATOR
+#ifdef ARCHOS_RECORDER
#include "adc.h"
#endif
#endif
+#endif
void dbg_ports(void);
@@ -141,8 +143,10 @@ void main_menu(void)
#endif
{ "Version", show_credits },
#ifndef SIMULATOR
+#ifdef ARCHOS_RECORDER
{ "Debug (keep out!)", dbg_ports },
#endif
+#endif
};
m=menu_init( items, sizeof items / sizeof(struct menu_items) );
@@ -154,6 +158,7 @@ void main_menu(void)
/* SPECIAL DEBUG STUFF */
/*---------------------------------------------------*/
#ifndef SIMULATOR
+#ifdef ARCHOS_RECORDER
/* Test code!!! */
void dbg_ports(void)
{
@@ -210,3 +215,4 @@ void dbg_ports(void)
}
}
#endif
+#endif