From 92381296192a06ec0762fd9353f3f213cee13c37 Mon Sep 17 00:00:00 2001 From: zolliker Date: Tue, 12 Apr 2005 13:13:03 +0000 Subject: [PATCH] bug fix (driving / counting status was not correct) --- devexec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devexec.c b/devexec.c index 70950790..9c5718e9 100644 --- a/devexec.c +++ b/devexec.c @@ -450,12 +450,12 @@ } break; case HWBusy: - if(pCountInt != NULL) + if(pDrivInt != NULL) { isDriving = 1; } - if(pDrivInt == NULL) - { + else if(pCountInt != NULL) + { isCounting = 1; } self->iStatus = DEVBUSY;