DDS plugin: Do not auto-transition after Initializing

This commit is contained in:
Dennis Klein 2019-07-25 18:09:20 +02:00 committed by Dennis Klein
parent ce1f507a24
commit b54df715ea

View File

@ -285,8 +285,6 @@ auto DDS::SubscribeForCustomCommands() -> void
} else if (cmd == "INIT DEVICE") {
if (ChangeDeviceState(ToDeviceStateTransition(cmd))) {
fDDS.Send(id + ": queued, " + cmd, to_string(senderId));
while (fStateQueue.WaitForNext() != DeviceState::InitializingDevice) {}
ChangeDeviceState(DeviceStateTransition::CompleteInit);
} else {
fDDS.Send(id + ": could not queue, " + cmd, to_string(senderId));
}