ソースを参照

Support SCSI ID up to 7 (#41)

Petteri Aimonen 3 年 前
コミット
31680c1652
2 ファイル変更2 行追加2 行削除
  1. 1 1
      lib/SCSI2SD/include/scsi2sd.h
  2. 1 1
      src/AzulSCSI_config.h

+ 1 - 1
lib/SCSI2SD/include/scsi2sd.h

@@ -39,7 +39,7 @@ extern "C" {
 
 #include "stdint.h"
 
-#define S2S_MAX_TARGETS 7
+#define S2S_MAX_TARGETS 8
 #define S2S_CFG_SIZE (S2S_MAX_TARGETS * sizeof(S2S_TargetCfg) + sizeof(S2S_BoardCfg))
 
 typedef enum

+ 1 - 1
src/AzulSCSI_config.h

@@ -26,7 +26,7 @@
 #define MAX_FILE_PATH 64                // Maximum file name length
 
 // SCSI config
-#define NUM_SCSIID  7          // Maximum number of supported SCSI-IDs (The minimum is 0)
+#define NUM_SCSIID  8          // Maximum number of supported SCSI-IDs (The minimum is 0)
 #define NUM_SCSILUN 1          // Maximum number of LUNs supported     (Currently has to be 1)
 #define READ_PARITY_CHECK 0    // Perform read parity check (unverified)