summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-03 12:02:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-03 12:02:26 +0000
commit2094d45af08ec29567e79a3408184c2b5282901b (patch)
treef3cd5de2ab4a5627efb9551681d82ed718ee2e5b /firmware/drivers
parent1ea00d1a0323745093442b889e33e5e82924726a (diff)
downloadrockbox-2094d45af08ec29567e79a3408184c2b5282901b.tar.gz
rockbox-2094d45af08ec29567e79a3408184c2b5282901b.zip
use the proper #ifdef for a feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2903 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 5cff8af19e..bdb744095d 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -484,7 +484,7 @@ static void ata_thread(void)
484 last_sleep = current_tick; 484 last_sleep = current_tick;
485 } 485 }
486 486
487#ifdef ARCHOS_RECORDER 487#ifdef HAVE_ATA_POWER_OFF
488 if ( sleeping && poweroff_timeout && !poweroff && 488 if ( sleeping && poweroff_timeout && !poweroff &&
489 TIME_AFTER( current_tick, last_sleep + poweroff_timeout )) 489 TIME_AFTER( current_tick, last_sleep + poweroff_timeout ))
490 { 490 {