Commit 5e6d540e authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by Laurent Claustre
Browse files

Fix IntTrigMult: allow new trigger while readout in FTM, deal with NULL PCI CcdStatus

parent 12a0efa6
......@@ -1010,8 +1010,13 @@ void Interface::getStatus(StatusType& status)
TrigMode trig_mode;
m_cam.getTrigMode(trig_mode);
if ((trig_mode == IntTrigMult) && (status.det == DetWaitForTrigger))
status.det = DetIdle;
if (trig_mode == IntTrigMult) {
// temporary patch until det status is properly managed in core
if (status.det & DetWaitForTrigger)
status.det = DetIdle;
else if (status.det == DetIdle)
status.det = DetExposure;
}
DEB_RETURN() << DEB_VAR1(status);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment