forked from len0rd/rockbox
Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
37e386f3d8
commit
4ac150e8d3
14 changed files with 13 additions and 27 deletions
|
|
@ -1452,7 +1452,7 @@ void ata_poweroff(bool enable)
|
|||
|
||||
bool ata_disk_is_active(void)
|
||||
{
|
||||
#ifdef APPLE_IPODNANO
|
||||
#ifdef IPOD_NANO
|
||||
return false;
|
||||
#else
|
||||
return !sleeping;
|
||||
|
|
@ -1465,7 +1465,7 @@ static int ata_perform_sleep(void)
|
|||
|
||||
/* ATA sleep is currently broken on Nano, and will hang all subsequent
|
||||
accesses, so disable until we find a cure. */
|
||||
#ifndef APPLE_IPODNANO
|
||||
#ifndef IPOD_NANO
|
||||
mutex_lock(&ata_mtx);
|
||||
|
||||
SET_REG(ATA_SELECT, ata_device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue