|
@@ -53,13 +53,14 @@
|
|
|
#define VERSION "1.2-" VDS "-BLACKSASI"
|
|
|
#define LOG_FILENAME "LOG.txt"
|
|
|
|
|
|
-#include "blacksasi.h"
|
|
|
-#include "config.h"
|
|
|
+
|
|
|
+#include "scsi.h"
|
|
|
#include "scsi_cmds.h"
|
|
|
#include "scsi_sense.h"
|
|
|
#include "scsi_status.h"
|
|
|
#include "scsi_mode.h"
|
|
|
-
|
|
|
+#include "config.h"
|
|
|
+#include "blacksasi.h"
|
|
|
#ifdef USE_STM32_DMA
|
|
|
#warning "warning USE_STM32_DMA"
|
|
|
#endif
|
|
@@ -432,7 +433,7 @@ void findDriveImages(FsFile root) {
|
|
|
root.getName(path_name, sizeof(path_name));
|
|
|
SD.chdir(path_name);
|
|
|
SCSI_DEVICE *dev = NULL;
|
|
|
-
|
|
|
+ LED2_ON();
|
|
|
while (1) {
|
|
|
// Directories can not be opened RDWR, so it will fail, but fails the same way with no file/dir, so we need to peek at the file first.
|
|
|
FsFile file_test = root.openNextFile(O_RDONLY);
|