diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 12:02:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 12:02:26 +0000 |
commit | 2094d45af08ec29567e79a3408184c2b5282901b (patch) | |
tree | f3cd5de2ab4a5627efb9551681d82ed718ee2e5b /firmware | |
parent | 1ea00d1a0323745093442b889e33e5e82924726a (diff) |
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')
-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 5cff8af19e..bdb744095d 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -484,7 +484,7 @@ static void ata_thread(void) last_sleep = current_tick; } -#ifdef ARCHOS_RECORDER +#ifdef HAVE_ATA_POWER_OFF if ( sleeping && poweroff_timeout && !poweroff && TIME_AFTER( current_tick, last_sleep + poweroff_timeout )) { |