1
0
Fork 0
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:
Linus Nielsen Feltzing 2004-05-21 21:49:04 +00:00
parent ef0fe8538b
commit e85acf10c8

View file

@ -153,8 +153,6 @@ void init(void)
(void)coldstart;
#endif
usb_start_monitoring();
rc = ata_init();
if(rc)
{
@ -171,6 +169,8 @@ void init(void)
panicf("ata: %d", rc);
}
usb_start_monitoring();
pinfo = disk_init();
if (!pinfo)
panicf("disk: NULL");