Diag: restart on E255

This commit is contained in:
Siegfried Siegert 2024-06-03 12:49:33 +02:00
parent 492d3a107a
commit 816182c87b
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -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;
} }