summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 2c21c223f7..dbf295d9ac 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -603,7 +603,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
603 603
604int main_menu(void) 604int main_menu(void)
605{ 605{
606 return do_menu(NULL, 0); 606 return do_menu(NULL, 0) == MENU_ATTACHED_USB;
607} 607}
608 608
609/* wrappers for the old menu system to work with the new system */ 609/* wrappers for the old menu system to work with the new system */
@@ -706,7 +706,7 @@ int menu_show(int m)
706 MENU_ITEM_COUNT(menus[m].count); 706 MENU_ITEM_COUNT(menus[m].count);
707 menu.value = m; 707 menu.value = m;
708 menu.menu_get_name_and_icon = &menu_info; 708 menu.menu_get_name_and_icon = &menu_info;
709 return do_menu(&menu, &menus[m].current_selection); 709 return do_menu(&menu, &menus[m].current_selection) == MENU_ATTACHED_USB;
710} 710}
711 711
712 712