summaryrefslogtreecommitdiff
path: root/apps/menus/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r--apps/menus/main_menu.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 9f6d9a527c..f01e8dc23a 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -125,10 +125,6 @@ static bool show_credits(void)
125 return false; 125 return false;
126} 126}
127 127
128#ifdef SIMULATOR
129extern bool simulate_usb(void);
130#endif
131
132#ifdef HAVE_LCD_CHARCELLS 128#ifdef HAVE_LCD_CHARCELLS
133#define SIZE_FMT "%s%s" 129#define SIZE_FMT "%s%s"
134#else 130#else
@@ -399,18 +395,10 @@ MENUITEM_FUNCTION(show_runtime_item, 0, ID2P(LANG_RUNNING_TIME),
399 (menu_function)view_runtime, NULL, NULL, Icon_NOICON); 395 (menu_function)view_runtime, NULL, NULL, Icon_NOICON);
400MENUITEM_FUNCTION(debug_menu_item, 0, ID2P(LANG_DEBUG), 396MENUITEM_FUNCTION(debug_menu_item, 0, ID2P(LANG_DEBUG),
401 (menu_function)debug_menu, NULL, NULL, Icon_NOICON); 397 (menu_function)debug_menu, NULL, NULL, Icon_NOICON);
402#ifdef SIMULATOR
403MENUITEM_FUNCTION(simulate_usb_item, 0, ID2P(LANG_USB),
404 (menu_function)simulate_usb, NULL, NULL, Icon_NOICON);
405#endif
406 398
407MAKE_MENU(info_menu, ID2P(LANG_SYSTEM), 0, Icon_Questionmark, 399MAKE_MENU(info_menu, ID2P(LANG_SYSTEM), 0, Icon_Questionmark,
408 &show_info_item, &show_credits_item, &show_runtime_item, 400 &show_info_item, &show_credits_item, &show_runtime_item,
409 &sleep_timer_call, &debug_menu_item 401 &sleep_timer_call, &debug_menu_item);
410#ifdef SIMULATOR
411 ,&simulate_usb_item
412#endif
413 );
414/* INFO MENU */ 402/* INFO MENU */
415/***********************************/ 403/***********************************/
416 404