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:
parent
406edc298d
commit
42df584960
1 changed files with 4 additions and 0 deletions
|
@ -281,7 +281,11 @@ static int ata_perform_sleep(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
ATA_SELECT = ata_device;
|
ATA_SELECT = ata_device;
|
||||||
|
#ifdef DEBUG
|
||||||
|
ATA_COMMAND = CMD_STANDBY;
|
||||||
|
#else
|
||||||
ATA_COMMAND = CMD_SLEEP;
|
ATA_COMMAND = CMD_SLEEP;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!wait_for_rdy())
|
if (!wait_for_rdy())
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
|
Loading…
Reference in a new issue