mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2025-08-15 18:27:36 +00:00
Oops, I was counting too many errors
This commit is contained in:
@@ -71,11 +71,11 @@ int SIMMElectricalTest_Run(void (*errorHandler)(uint8_t, uint8_t))
|
||||
if (readback & 1) // failure here?
|
||||
{
|
||||
errorHandler(failIndex, GROUND_FAIL_INDEX);
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
readback >>= 1;
|
||||
failIndex++;
|
||||
numErrors++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,11 +91,11 @@ int SIMMElectricalTest_Run(void (*errorHandler)(uint8_t, uint8_t))
|
||||
if (readback & 1) // failure here?
|
||||
{
|
||||
errorHandler(failIndex, GROUND_FAIL_INDEX);
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
readback >>= 1;
|
||||
failIndex++;
|
||||
numErrors++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,11 +223,11 @@ int SIMMElectricalTest_Run(void (*errorHandler)(uint8_t, uint8_t))
|
||||
if (readback & 1) // failure here?
|
||||
{
|
||||
errorHandler(testPinFailIndex, failIndex);
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
readback >>= 1;
|
||||
failIndex++;
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
readback = Ports_ReadData();
|
||||
@@ -248,11 +248,11 @@ int SIMMElectricalTest_Run(void (*errorHandler)(uint8_t, uint8_t))
|
||||
if (readback & 1) // failure here?
|
||||
{
|
||||
errorHandler(testPinFailIndex, failIndex);
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
readback >>= 1;
|
||||
failIndex++;
|
||||
numErrors++;
|
||||
}
|
||||
|
||||
if (curStage != TestingCS)
|
||||
|
Reference in New Issue
Block a user