Diag: clear machineEventSet on the begin of DCDiag ...
... not on end. This is to keep current machineEventSet during normal IDLE process.
This commit is contained in:
parent
612a932b9f
commit
6e6a63719f
@ -58,6 +58,7 @@ void DeviceControllerDiag::diagRequest()
|
|||||||
qCritical() << "DeviceControllerDiag::diagRequest() is already running";
|
qCritical() << "DeviceControllerDiag::diagRequest() is already running";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this->machineEventSet.clear();
|
||||||
this->isRequestRunning = true;
|
this->isRequestRunning = true;
|
||||||
this->diagRequestTimeoutTimer->start();
|
this->diagRequestTimeoutTimer->start();
|
||||||
|
|
||||||
@ -432,7 +433,6 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|||||||
this->flagInterruptDiag = false;
|
this->flagInterruptDiag = false;
|
||||||
|
|
||||||
this->previousMachineEventSet = machineEventSet;
|
this->previousMachineEventSet = machineEventSet;
|
||||||
this->machineEventSet.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user