summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index 4ce14383f0..46f52abf94 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -44,6 +44,7 @@
44#include "stdbool.h" 44#include "stdbool.h"
45#include "ata_idle_notify.h" 45#include "ata_idle_notify.h"
46#include "sd.h" 46#include "sd.h"
47#include "usb.h"
47 48
48#ifdef HAVE_HOTSWAP 49#ifdef HAVE_HOTSWAP
49#include "disk.h" 50#include "disk.h"
@@ -401,7 +402,7 @@ static void sd_thread(void)
401 } 402 }
402 } 403 }
403 break; 404 break;
404#if 0 405
405 case SYS_USB_CONNECTED: 406 case SYS_USB_CONNECTED:
406 usb_acknowledge(SYS_USB_CONNECTED_ACK); 407 usb_acknowledge(SYS_USB_CONNECTED_ACK);
407 /* Wait until the USB cable is extracted again */ 408 /* Wait until the USB cable is extracted again */
@@ -411,7 +412,6 @@ static void sd_thread(void)
411 case SYS_USB_DISCONNECTED: 412 case SYS_USB_DISCONNECTED:
412 usb_acknowledge(SYS_USB_DISCONNECTED_ACK); 413 usb_acknowledge(SYS_USB_DISCONNECTED_ACK);
413 break; 414 break;
414#endif
415 } 415 }
416 } 416 }
417} 417}