diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-11-08 11:41:56 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-11-08 11:41:56 +0000 |
commit | f6c80586951c81f69290fa219e1b6818f889c98e (patch) | |
tree | c02617d55b1d5a5d8962bd4492de73c6cce7ae71 /firmware/drivers/ata.c | |
parent | d8c5d1b0bebcc0491121ac3550f68e9993676f4c (diff) |
Fixed the bug in ata.c preventing files from being read correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r-- | firmware/drivers/ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 8ee8225d1b..826e6f3092 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -1272,7 +1272,7 @@ static int identify(void) for (i=0; i<SECTOR_SIZE/2; i++) { /* the IDENTIFY words are already swapped, so we need to treat this info differently that normal sector data */ -#if defined(ROCKBOX_IS_BIGENDIAN) && !defined(SWAP_WORDS) +#if defined(ROCKBOX_BIG_ENDIAN) && !defined(SWAP_WORDS) #warning Swapping ATA identify data identify_info[i] = swap16(ATA_DATA); #else |