summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 13bbc173c2..e78f8aead1 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -85,6 +85,7 @@ static void usb_slave_mode(bool on)
85 { 85 {
86 DEBUGF("Entering USB slave mode\n"); 86 DEBUGF("Entering USB slave mode\n");
87 ata_soft_reset(); 87 ata_soft_reset();
88 ata_init();
88 ata_enable(false); 89 ata_enable(false);
89 usb_enable(true); 90 usb_enable(true);
90 } 91 }