diff options
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 )) { |