summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index c1faf815fe..b4d676332b 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -326,7 +326,7 @@ bool main_menu(void)
326 items[i++].function = simulate_usb; 326 items[i++].function = simulate_usb;
327#endif 327#endif
328 328
329 m=menu_init( items, sizeof items / sizeof(struct menu_items) ); 329 m=menu_init( items, i );
330#ifdef HAVE_LCD_CHARCELLS 330#ifdef HAVE_LCD_CHARCELLS
331 status_set_param(true); 331 status_set_param(true);
332#endif 332#endif