From 2094d45af08ec29567e79a3408184c2b5282901b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Dec 2002 12:02:26 +0000 Subject: use the proper #ifdef for a feature git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2903 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers') 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 )) { -- cgit v1.2.3