summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
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 /apps/main_menu.c
parent6feb9838c84539aafc2b0ef228ac094072243217 (diff)
downloadrockbox-7c441258ff887c7f7461a2d85e4d2bde6051ad96.tar.gz
rockbox-7c441258ff887c7f7461a2d85e4d2bde6051ad96.zip
Removed warning on Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1297 a1c6a512-1295-4272-9138-f99709370657
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 @@
40#include "icons.h" 40#include "icons.h"
41 41
42#ifndef SIMULATOR 42#ifndef SIMULATOR
43#ifdef ARCHOS_RECORDER
43#include "adc.h" 44#include "adc.h"
44#endif 45#endif
45#endif 46#endif
47#endif
46 48
47void dbg_ports(void); 49void dbg_ports(void);
48 50
@@ -141,8 +143,10 @@ void main_menu(void)
141#endif 143#endif
142 { "Version", show_credits }, 144 { "Version", show_credits },
143#ifndef SIMULATOR 145#ifndef SIMULATOR
146#ifdef ARCHOS_RECORDER
144 { "Debug (keep out!)", dbg_ports }, 147 { "Debug (keep out!)", dbg_ports },
145#endif 148#endif
149#endif
146 }; 150 };
147 151
148 m=menu_init( items, sizeof items / sizeof(struct menu_items) ); 152 m=menu_init( items, sizeof items / sizeof(struct menu_items) );
@@ -154,6 +158,7 @@ void main_menu(void)
154/* SPECIAL DEBUG STUFF */ 158/* SPECIAL DEBUG STUFF */
155/*---------------------------------------------------*/ 159/*---------------------------------------------------*/
156#ifndef SIMULATOR 160#ifndef SIMULATOR
161#ifdef ARCHOS_RECORDER
157/* Test code!!! */ 162/* Test code!!! */
158void dbg_ports(void) 163void dbg_ports(void)
159{ 164{
@@ -210,3 +215,4 @@ void dbg_ports(void)
210 } 215 }
211} 216}
212#endif 217#endif
218#endif