summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-16 08:02:07 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-16 08:02:07 +0000
commit82e9438e2e87887c0c917fddf2fa4971261ff83d (patch)
treea53ac5f22cf8b5d13f3fad86c7a561ca70a2c8c1 /apps/main.c
parente5691c06138e722b380681e58b0e9f9644e43434 (diff)
downloadrockbox-82e9438e2e87887c0c917fddf2fa4971261ff83d.tar.gz
rockbox-82e9438e2e87887c0c917fddf2fa4971261ff83d.zip
oh, I need to commit this Ondio hack, else nobody can test with the automated build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 270f3d6dc3..54d3955f4d 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -177,6 +177,13 @@ 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)
{