Made pCountInt->lastStatus handling work in diffscan

This commit is contained in:
2016-03-15 11:35:18 +01:00
parent 1b2022a5e9
commit 019dc11131

View File

@ -278,6 +278,7 @@ static int StartDiffScan(pDiffScan self, pScanData pScan,
if (status != OKOK) {
return 0;
}
pCount->pCountInt->lastStatus = HWBusy;
return 1;
}
@ -482,6 +483,7 @@ int RunDiffScan(pDiffScan self, pScanData pScan,
pCount = (pCounter) self->scanObject->pCounterData;
pCount->pCountInt->Halt(pCount);
InvokeCallBack(self->scanObject->pCall, SCANEND, self->scanObject);
pCount->pCountInt->lastStatus = HWIdle;
return 1;
}