summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-02 08:20:23 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-02 08:20:23 +0000
commit7c441258ff887c7f7461a2d85e4d2bde6051ad96 (patch)
treede63616c6f6b34e84714e07a4f28f950150dce08
parent6feb9838c84539aafc2b0ef228ac094072243217 (diff)
Removed warning on Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1297 a1c6a512-1295-4272-9138-f99709370657
-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