1
0
Fork 0
forked from len0rd/rockbox

H10: Disable IDE controller when the disk is powered down like on ipods.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-05-07 06:51:28 +00:00
parent 607b63a827
commit 82cda9b091

View file

@ -59,7 +59,9 @@ void ide_power_enable(bool on)
{
if(on){
GPIO_CLEAR_BITWISE(GPIOF_OUTPUT_VAL, 0x01);
DEV_EN |= DEV_IDE0;
} else {
DEV_EN &= ~DEV_IDE0;
GPIO_SET_BITWISE(GPIOF_OUTPUT_VAL, 0x01);
}
}