forked from len0rd/rockbox
USB support for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8167 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c9016f82e0
commit
55e9670c70
2 changed files with 28 additions and 11 deletions
|
@ -235,9 +235,7 @@ void init(void)
|
|||
|
||||
adc_init();
|
||||
|
||||
#ifndef IRIVER_H300_SERIES
|
||||
usb_init();
|
||||
#endif
|
||||
|
||||
backlight_init();
|
||||
|
||||
|
@ -285,7 +283,6 @@ void init(void)
|
|||
panicf("ata: %d", rc);
|
||||
}
|
||||
|
||||
#ifndef IRIVER_H300_SERIES
|
||||
usb_start_monitoring();
|
||||
while (usb_detect())
|
||||
{ /* enter USB mode early, before trying to mount */
|
||||
|
@ -302,7 +299,7 @@ void init(void)
|
|||
break;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!mounted)
|
||||
{
|
||||
rc = disk_mount_all();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue