Diag: restart on E255
This commit is contained in:
parent
492d3a107a
commit
816182c87b
@ -104,6 +104,14 @@ void DeviceControllerDiag::private_startDiag()
|
|||||||
this->private_sendDiagEvent(DeviceController::State::E255);
|
this->private_sendDiagEvent(DeviceController::State::E255);
|
||||||
this->isRequestRunning = false;
|
this->isRequestRunning = false;
|
||||||
this->flagInterruptDiag = false;
|
this->flagInterruptDiag = false;
|
||||||
|
|
||||||
|
// try it again, until success:
|
||||||
|
QTimer::singleShot(400, this, &DeviceControllerDiag::diagRequest);
|
||||||
|
/**
|
||||||
|
* But please note:
|
||||||
|
* - diag does currently not stop suspend (start a background task)
|
||||||
|
* - diag is called again in ModeOOO wokeup()
|
||||||
|
*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user