summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index ae1fbeb8c0..ab4f0403b9 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -132,7 +132,7 @@ static void usb_slave_mode(bool on)
132 132
133static void try_reboot(void) 133static void try_reboot(void)
134{ 134{
135#ifndef HAVE_FLASH_STORAGE 135#ifdef HAVE_DISK_STORAGE
136 ata_sleepnow(); /* Immediately spindown the disk. */ 136 ata_sleepnow(); /* Immediately spindown the disk. */
137 sleep(HZ*2); 137 sleep(HZ*2);
138#endif 138#endif