mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-14 17:16:47 +00:00
DDS plugin: Do not auto-transition after Initializing
This commit is contained in:
parent
ce1f507a24
commit
b54df715ea
|
@ -285,8 +285,6 @@ auto DDS::SubscribeForCustomCommands() -> void
|
||||||
} else if (cmd == "INIT DEVICE") {
|
} else if (cmd == "INIT DEVICE") {
|
||||||
if (ChangeDeviceState(ToDeviceStateTransition(cmd))) {
|
if (ChangeDeviceState(ToDeviceStateTransition(cmd))) {
|
||||||
fDDS.Send(id + ": queued, " + cmd, to_string(senderId));
|
fDDS.Send(id + ": queued, " + cmd, to_string(senderId));
|
||||||
while (fStateQueue.WaitForNext() != DeviceState::InitializingDevice) {}
|
|
||||||
ChangeDeviceState(DeviceStateTransition::CompleteInit);
|
|
||||||
} else {
|
} else {
|
||||||
fDDS.Send(id + ": could not queue, " + cmd, to_string(senderId));
|
fDDS.Send(id + ": could not queue, " + cmd, to_string(senderId));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user