]> localhost Git - SCSI2SD.git/commitdiff
Fix issue preventing scsi selection
authorMichael McMaster <michael@codesrc.com>
Fri, 8 Jan 2021 09:02:19 +0000 (19:02 +1000)
committerMichael McMaster <michael@codesrc.com>
Fri, 8 Jan 2021 09:02:19 +0000 (19:02 +1000)
software/SCSI2SD/src/scsi.c

index f415a3c146c4b118bd799e74bb91c45154a2463c..edf4cb6f12911709026976da220468aba7d53d7b 100755 (executable)
@@ -665,7 +665,7 @@ static void process_SelectionPhase()
        S2S_Target* target = NULL;\r
        for (int testIdx = 0; testIdx < 8; ++testIdx)\r
        {\r
-               target = s2s_DeviceFindByScsiId(1 << testIdx);\r
+               target = s2s_DeviceFindByScsiId(testIdx);\r
                if (target)\r
                {\r
                        break;\r