Compare commits

..

1 Commits
2.5.0 ... 2.5.1

Author SHA1 Message Date
18104b7271 Start dc_autoRequest() on wokeup 2024-09-25 12:33:52 +02:00
2 changed files with 3 additions and 0 deletions

View File

@@ -1712,6 +1712,7 @@ void ATBDeviceControllerPlugin::onWokeUp(uchar source)
{
if (source == 0x01 || source == 0xFE) {
// woke up from device controller
hw->dc_autoRequest(true);
this->diag->diagRequest();
}
}

View File

@@ -135,6 +135,7 @@ void DeviceControllerDiag::private_startDiag()
qCritical() << "DeviceControllerDiag::private_startDiag() DCdata is +++not+++ valid";
// try it again
hw->dc_autoRequest(true);
QTimer::singleShot(200, this, &DeviceControllerDiag::private_startDiag);
}
}
@@ -164,6 +165,7 @@ void DeviceControllerDiag::sys_superviseSystem()
{
// es gibt keinerlei gültige Daten vom DC
qCritical() << "DeviceControllerDiag::sys_superviseSystem() no valid data!";
hw->dc_autoRequest(true);
this->private_sendDiagEvent(DeviceController::State::E254);
this->diagRequestTimeoutTimer->stop();
this->isRequestRunning = false;