1
0
Fork 0
forked from len0rd/rockbox

Oops! Wrong polarity in ide_powered() for iRiver

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-12-20 01:34:45 +00:00
parent dad5de672f
commit 474bbb36ad

View file

@ -182,7 +182,7 @@ void ide_power_enable(bool on)
bool ide_powered(void)
{
#ifdef IRIVER_H100
return (GPIO_OUT & 0x80000000)?true:false;
return (GPIO_OUT & 0x80000000)?false:true;
#else
#if defined(NEEDS_ATA_POWER_ON) || defined(HAVE_ATA_POWER_OFF)
#ifdef ATA_POWER_PLAYERSTYLE