Read performance improvements
[SCSI2SD-V6.git] / software / SCSI2SD / SCSI2SD.cydsn / loopback.c
index ecddd64..b64405a 100755 (executable)
@@ -72,11 +72,12 @@ static int test_data_10MHz(void)
        int i;\r
        for (i = 0; i < 100; ++i)\r
        {\r
+               uint8 dbx;\r
                // We write using Active High\r
                SCSI_Out_DBx_Write(0xFF);\r
                CyDelayCycles(3);\r
                // And expect an Active Low response.\r
-               uint8 dbx = SCSI_In_DBx_Read();\r
+               dbx = SCSI_In_DBx_Read();\r
                result = result && (dbx == 0);\r
                \r
                // We write using Active High\r
@@ -145,4 +146,4 @@ void scsi2sd_test_loopback(void)
        {\r
                test_success();\r
        }\r
-}
\ No newline at end of file
+}\r