Send diagEvent E255 as ERROR
This commit is contained in:
parent
560b6d3221
commit
ec18ac45e4
@ -506,10 +506,8 @@ void DeviceControllerDiag::private_sendDiagEvent(DeviceController::State result)
|
||||
parameter = "no valid data from DeviceController";
|
||||
break;
|
||||
case DeviceController::State::E255: // no valid data from DeviceController
|
||||
eventClass = EVENT_CLASS::STATE;
|
||||
parameter = "";
|
||||
qCritical() << " ... ignore " << QMetaEnum::fromType<DeviceController::State>().valueToKey(result);
|
||||
return;
|
||||
eventClass = EVENT_CLASS::ERROR;
|
||||
parameter = "no valid data from DeviceController";
|
||||
break;
|
||||
case DeviceController::State::O000: // everything is fine
|
||||
this->machineEventSet.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user