Start dc_autoRequest() on wokeup
This commit is contained in:
parent
d720c7190f
commit
18104b7271
@ -1712,6 +1712,7 @@ void ATBDeviceControllerPlugin::onWokeUp(uchar source)
|
|||||||
{
|
{
|
||||||
if (source == 0x01 || source == 0xFE) {
|
if (source == 0x01 || source == 0xFE) {
|
||||||
// woke up from device controller
|
// woke up from device controller
|
||||||
|
hw->dc_autoRequest(true);
|
||||||
this->diag->diagRequest();
|
this->diag->diagRequest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -135,6 +135,7 @@ void DeviceControllerDiag::private_startDiag()
|
|||||||
qCritical() << "DeviceControllerDiag::private_startDiag() DCdata is +++not+++ valid";
|
qCritical() << "DeviceControllerDiag::private_startDiag() DCdata is +++not+++ valid";
|
||||||
|
|
||||||
// try it again
|
// try it again
|
||||||
|
hw->dc_autoRequest(true);
|
||||||
QTimer::singleShot(200, this, &DeviceControllerDiag::private_startDiag);
|
QTimer::singleShot(200, this, &DeviceControllerDiag::private_startDiag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -164,6 +165,7 @@ void DeviceControllerDiag::sys_superviseSystem()
|
|||||||
{
|
{
|
||||||
// es gibt keinerlei gültige Daten vom DC
|
// es gibt keinerlei gültige Daten vom DC
|
||||||
qCritical() << "DeviceControllerDiag::sys_superviseSystem() no valid data!";
|
qCritical() << "DeviceControllerDiag::sys_superviseSystem() no valid data!";
|
||||||
|
hw->dc_autoRequest(true);
|
||||||
this->private_sendDiagEvent(DeviceController::State::E254);
|
this->private_sendDiagEvent(DeviceController::State::E254);
|
||||||
this->diagRequestTimeoutTimer->stop();
|
this->diagRequestTimeoutTimer->stop();
|
||||||
this->isRequestRunning = false;
|
this->isRequestRunning = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user