forked from len0rd/rockbox
The USB monitoring started before the ATA thread, leading to badness when Rockbox was started from flash with the USB cable inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4685 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ef0fe8538b
commit
e85acf10c8
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,6 @@ void init(void)
|
||||||
(void)coldstart;
|
(void)coldstart;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
usb_start_monitoring();
|
|
||||||
|
|
||||||
rc = ata_init();
|
rc = ata_init();
|
||||||
if(rc)
|
if(rc)
|
||||||
{
|
{
|
||||||
|
@ -171,6 +169,8 @@ void init(void)
|
||||||
panicf("ata: %d", rc);
|
panicf("ata: %d", rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
usb_start_monitoring();
|
||||||
|
|
||||||
pinfo = disk_init();
|
pinfo = disk_init();
|
||||||
if (!pinfo)
|
if (!pinfo)
|
||||||
panicf("disk: NULL");
|
panicf("disk: NULL");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue