Commit 9262a587 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline

Simulator: fix IntTrigMult: peaks do not change with frame_nb

parent fb9b5d4e
......@@ -75,7 +75,7 @@ void Camera::SimuThread::execStartAcq()
buffer_mgr.setStartTimestamp(Timestamp::now());
FrameBuilder& frame_builder = m_simu->m_frame_builder;
frame_builder.resetFrameNr();
frame_builder.resetFrameNr(m_acq_frame_nb);
int nb_frames = m_simu->m_trig_mode == IntTrig ? m_simu->m_nb_frames : m_acq_frame_nb + 1;
int& frame_nb = m_acq_frame_nb;
......
Markdown is supported
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