summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-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)