Spindown mode is STANDBY when debugging

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1461 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-07-27 19:24:27 +00:00
parent 406edc298d
commit 42df584960

View file

@ -281,7 +281,11 @@ static int ata_perform_sleep(void)
}
ATA_SELECT = ata_device;
#ifdef DEBUG
ATA_COMMAND = CMD_STANDBY;
#else
ATA_COMMAND = CMD_SLEEP;
#endif
if (!wait_for_rdy())
ret = -1;