Disable USB before enabling ATA

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-24 11:32:53 +00:00
parent a97c4419ed
commit a95d956316

View file

@ -323,8 +323,8 @@ int ata_init(void)
led(false);
/* activate ATA */
PADR &= ~0x80;
PADR |= 0x800; /* disable USB */
PADR &= ~0x80; /* activate ATA */
if (master_slave())
return -1;