summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r--firmware/drivers/ata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index a5fb78d6bd..e4600e171a 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -996,7 +996,11 @@ void ata_poweroff(bool enable)
996 996
997bool ata_disk_is_active(void) 997bool ata_disk_is_active(void)
998{ 998{
999#ifdef APPLE_IPODNANO
1000 return false;
1001#else
999 return !sleeping; 1002 return !sleeping;
1003#endif
1000} 1004}
1001 1005
1002static int ata_perform_sleep(void) 1006static int ata_perform_sleep(void)