- Fixed a serious bug in interface.c introduced while cleaning SetStatus
This commit is contained in:
@ -369,6 +369,13 @@ static int CountTaskFunc(void *data)
|
|||||||
assert(taskData != NULL);
|
assert(taskData != NULL);
|
||||||
|
|
||||||
status = taskData->pCount->CheckCountStatus(taskData->obj,taskData->pCon);
|
status = taskData->pCount->CheckCountStatus(taskData->obj,taskData->pCon);
|
||||||
|
if(status == HWBusy) {
|
||||||
|
return 1;
|
||||||
|
} else if(status == HWNoBeam){
|
||||||
|
return 1;
|
||||||
|
} else if(status == HWPause){
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
taskData->pCount->TransferData(taskData->obj, taskData->pCon);
|
taskData->pCount->TransferData(taskData->obj, taskData->pCon);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user