From 41689d97b48f5ecd6a84dc1e687e8ce1a27688e9 Mon Sep 17 00:00:00 2001 From: boa Date: Fri, 15 Aug 2014 13:39:20 +0200 Subject: [PATCH] Removed status setting from tasscan.c --- tasscan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasscan.c b/tasscan.c index 461012a..2d8bc19 100644 --- a/tasscan.c +++ b/tasscan.c @@ -744,7 +744,6 @@ static int TASScanCount(pScanData self, int iPoint) this is easy, just an ordinary scan, start a counter */ fVal = GetCounterPreset(self->pCounterData); - eOld = GetStatus(); status = DoCount(self->pCounterData, fVal, self->pCon, 2); iRet = Wait4Success(GetExecutor()); if (iRet == DEVINT) { @@ -756,7 +755,6 @@ static int TASScanCount(pScanData self, int iPoint) } else { status = 1; } - SetStatus(eOld); return status; }