Fix: finish diag on right place
This commit is contained in:
parent
94d22c3bb5
commit
4187d8044d
@ -301,6 +301,13 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|||||||
if (flag_sendOperate) {
|
if (flag_sendOperate) {
|
||||||
this->private_sendDiagEvent(DeviceController::State::O000);
|
this->private_sendDiagEvent(DeviceController::State::O000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// finish diag
|
||||||
|
|
||||||
|
this->diagRequestTimeoutTimer->stop();
|
||||||
|
this->isRequestRunning = false;
|
||||||
|
this->flagInterruptDiag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -315,10 +322,6 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|||||||
*/
|
*/
|
||||||
void DeviceControllerDiag::private_sendDiagEvent(DeviceController::State result)
|
void DeviceControllerDiag::private_sendDiagEvent(DeviceController::State result)
|
||||||
{
|
{
|
||||||
this->diagRequestTimeoutTimer->stop();
|
|
||||||
this->isRequestRunning = false;
|
|
||||||
this->flagInterruptDiag = false;
|
|
||||||
|
|
||||||
qCritical() << "DeviceControllerDiag::private_sendDiagEvent() result: " << result;
|
qCritical() << "DeviceControllerDiag::private_sendDiagEvent() result: " << result;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user