mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2025-01-03 06:30:33 +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?
|
||||
{
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user