Send diagEvent E255 as ERROR

This commit is contained in:
Siegfried Siegert 2024-05-16 15:47:14 +02:00
parent 560b6d3221
commit ec18ac45e4
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
2 changed files with 3 additions and 5 deletions

View File

@ -506,10 +506,8 @@ void DeviceControllerDiag::private_sendDiagEvent(DeviceController::State result)
parameter = "no valid data from DeviceController"; parameter = "no valid data from DeviceController";
break; break;
case DeviceController::State::E255: // no valid data from DeviceController case DeviceController::State::E255: // no valid data from DeviceController
eventClass = EVENT_CLASS::STATE; eventClass = EVENT_CLASS::ERROR;
parameter = ""; parameter = "no valid data from DeviceController";
qCritical() << " ... ignore " << QMetaEnum::fromType<DeviceController::State>().valueToKey(result);
return;
break; break;
case DeviceController::State::O000: // everything is fine case DeviceController::State::O000: // everything is fine
this->machineEventSet.clear(); this->machineEventSet.clear();