diff --git a/apps/main.c b/apps/main.c index cfdb8d8b77..01202a9184 100644 --- a/apps/main.c +++ b/apps/main.c @@ -258,13 +258,6 @@ void init(void) } } #endif /* #ifdef AUTOROCK */ - -/* temporary hack for Ondio */ -#ifdef HAVE_MMC - main_menu(); /* show the main menu once, since it is not yet callable - * from the browser. The button handling needs a fix. */ -#endif -/* end of Ondio hack */ } int main(void) diff --git a/apps/tree.c b/apps/tree.c index 1ffbaa47fe..a8eb0fcdd1 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -140,6 +140,13 @@ void browse_root(void) filetype_init(); check_rockboxdir(); +/* temporary hack for Ondio */ +#ifdef HAVE_MMC + main_menu(); /* show the main menu once, since it is not yet callable + * from the browser. The button handling needs a fix. */ +#endif +/* end of Ondio hack */ + #ifndef SIMULATOR dirbrowse("/", &global_settings.dirfilter);