summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c
index a0cab20dd7..7bde823712 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -235,9 +235,7 @@ void init(void)
235 235
236 adc_init(); 236 adc_init();
237 237
238#ifndef IRIVER_H300_SERIES
239 usb_init(); 238 usb_init();
240#endif
241 239
242 backlight_init(); 240 backlight_init();
243 241
@@ -285,7 +283,6 @@ void init(void)
285 panicf("ata: %d", rc); 283 panicf("ata: %d", rc);
286 } 284 }
287 285
288#ifndef IRIVER_H300_SERIES
289 usb_start_monitoring(); 286 usb_start_monitoring();
290 while (usb_detect()) 287 while (usb_detect())
291 { /* enter USB mode early, before trying to mount */ 288 { /* enter USB mode early, before trying to mount */
@@ -302,7 +299,7 @@ void init(void)
302 break; 299 break;
303#endif 300#endif
304 } 301 }
305#endif 302
306 if (!mounted) 303 if (!mounted)
307 { 304 {
308 rc = disk_mount_all(); 305 rc = disk_mount_all();