Silly me, I passed the wrong number of items to menu_init(). Thanks to Mike Grupenhoff for pointing that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4167 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae8af7d4c7
commit
2a8386106b
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ bool main_menu(void)
|
|||
items[i++].function = simulate_usb;
|
||||
#endif
|
||||
|
||||
m=menu_init( items, sizeof items / sizeof(struct menu_items) );
|
||||
m=menu_init( items, i );
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
status_set_param(true);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue