bug fix (driving / counting status was not correct)
This commit is contained in:
@ -450,12 +450,12 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case HWBusy:
|
case HWBusy:
|
||||||
if(pCountInt != NULL)
|
if(pDrivInt != NULL)
|
||||||
{
|
{
|
||||||
isDriving = 1;
|
isDriving = 1;
|
||||||
}
|
}
|
||||||
if(pDrivInt == NULL)
|
else if(pCountInt != NULL)
|
||||||
{
|
{
|
||||||
isCounting = 1;
|
isCounting = 1;
|
||||||
}
|
}
|
||||||
self->iStatus = DEVBUSY;
|
self->iStatus = DEVBUSY;
|
||||||
|
Reference in New Issue
Block a user