summaryrefslogtreecommitdiff
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
parenteaa1f73c6daf7e0c066a21b87384cb85cfa33538 (diff)
downloadrockbox-36056003b9fccb74706dd8585ae60bf8f9758fd0.tar.gz
rockbox-36056003b9fccb74706dd8585ae60bf8f9758fd0.zip
Adjusted temporary Ondio hack for new capabilities
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
-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)
181 181
182 usb_start_monitoring(); 182 usb_start_monitoring();
183 183
184/* temporary hack for Ondio, which can't browse without disk I/O */
185#ifdef HAVE_MMC
186 while(button_get(true) & BUTTON_REL) {}; /* wait to see the logo */
187 while(1) main_menu(); /* just show the main menu, all we can do */
188#endif
189/* end of Ondio hack */
190
191 pinfo = disk_init(); 184 pinfo = disk_init();
192 if (!pinfo) 185 if (!pinfo)
193 { 186 {
@@ -230,7 +223,7 @@ void init(void)
230 settings_apply(); 223 settings_apply();
231 224
232 status_init(); 225 status_init();
233 playlist_init(); 226 playlist_init();
234 tree_init(); 227 tree_init();
235 228
236 /* No buffer allocation (see buffer.c) may take place after the call to 229 /* No buffer allocation (see buffer.c) may take place after the call to
@@ -265,6 +258,13 @@ void init(void)
265 } 258 }
266 } 259 }
267#endif /* #ifdef AUTOROCK */ 260#endif /* #ifdef AUTOROCK */
261
262/* temporary hack for Ondio */
263#ifdef HAVE_MMC
264 main_menu(); /* show the main menu once, since it is not yet callable
265 * from the browser. The button handling needs a fix. */
266#endif
267/* end of Ondio hack */
268} 268}
269 269
270int main(void) 270int main(void)