diff options
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r-- | apps/main_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index eb02e5b7c4..2cb9bda9bd 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -128,6 +128,8 @@ void show_credits(void) | |||
128 | #ifdef SIMULATOR | 128 | #ifdef SIMULATOR |
129 | #define mp3buf 0 | 129 | #define mp3buf 0 |
130 | #define mp3end 0 | 130 | #define mp3end 0 |
131 | |||
132 | extern void simulate_usb(void); | ||
131 | #else | 133 | #else |
132 | /* defined in linker script */ | 134 | /* defined in linker script */ |
133 | extern unsigned char mp3buf[]; | 135 | extern unsigned char mp3buf[]; |
@@ -197,6 +199,8 @@ void main_menu(void) | |||
197 | { "Version", show_credits }, | 199 | { "Version", show_credits }, |
198 | #ifndef SIMULATOR | 200 | #ifndef SIMULATOR |
199 | { "Debug (keep out!)", debug_menu }, | 201 | { "Debug (keep out!)", debug_menu }, |
202 | #else | ||
203 | { "USB (sim)", simulate_usb }, | ||
200 | #endif | 204 | #endif |
201 | }; | 205 | }; |
202 | 206 | ||