summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index c5f981d1f6..6ae2ca6150 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -414,6 +414,12 @@ static int runcurrent(void)
414 if (remote_detect()) 414 if (remote_detect())
415 current += CURRENT_REMOTE; 415 current += CURRENT_REMOTE;
416#endif 416#endif
417
418#if defined(HAVE_ATA_POWER_OFF) && defined(CURRENT_ATA)
419 if (ide_powered())
420 current += CURRENT_ATA;
421#endif
422
417#endif /* BOOTLOADER */ 423#endif /* BOOTLOADER */
418 424
419 return current; 425 return current;