Removed status setting from tasscan.c

This commit is contained in:
boa
2014-08-15 13:39:20 +02:00
parent ce371d6837
commit 41689d97b4

View File

@ -744,7 +744,6 @@ static int TASScanCount(pScanData self, int iPoint)
this is easy, just an ordinary scan, start a counter this is easy, just an ordinary scan, start a counter
*/ */
fVal = GetCounterPreset(self->pCounterData); fVal = GetCounterPreset(self->pCounterData);
eOld = GetStatus();
status = DoCount(self->pCounterData, fVal, self->pCon, 2); status = DoCount(self->pCounterData, fVal, self->pCon, 2);
iRet = Wait4Success(GetExecutor()); iRet = Wait4Success(GetExecutor());
if (iRet == DEVINT) { if (iRet == DEVINT) {
@ -756,7 +755,6 @@ static int TASScanCount(pScanData self, int iPoint)
} else { } else {
status = 1; status = 1;
} }
SetStatus(eOld);
return status; return status;
} }