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