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:
parent
dad5de672f
commit
474bbb36ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue