summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-09-29 21:41:10 +0000
committerJens Arnold <amiconn@rockbox.org>2004-09-29 21:41:10 +0000
commit36056003b9fccb74706dd8585ae60bf8f9758fd0 (patch)
tree839b9b30155ad730af95cf6224171b3806b73414 /apps
parenteaa1f73c6daf7e0c066a21b87384cb85cfa33538 (diff)
Adjusted temporary Ondio hack for new capabilities
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/main.c b/apps/main.c
index 38bbd71177..cfdb8d8b77 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -181,13 +181,6 @@ void init(void)
usb_start_monitoring();
-/* temporary hack for Ondio, which can't browse without disk I/O */
-#ifdef HAVE_MMC
- while(button_get(true) & BUTTON_REL) {}; /* wait to see the logo */
- while(1) main_menu(); /* just show the main menu, all we can do */
-#endif
-/* end of Ondio hack */
-
pinfo = disk_init();
if (!pinfo)
{
@@ -230,7 +223,7 @@ void init(void)
settings_apply();
status_init();
- playlist_init();
+ playlist_init();
tree_init();
/* No buffer allocation (see buffer.c) may take place after the call to
@@ -265,6 +258,13 @@ 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)