mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-05 12:04:13 +02:00
Reset pulse_id to remove artifacts in final file
Since the buffer does not get zeroed out in each iteration, the wrong pulse_id can be written to the final file if no packets for a specific pulse_id was received.
This commit is contained in:
@@ -131,6 +131,7 @@ ImageMetadataBlock* ImageAssembler::get_metadata_buffer(const uint64_t bunch_id)
|
||||
|
||||
auto is_pulse_init = false;
|
||||
image_is_good_frame[i_pulse] = 1;
|
||||
image_pulse_id[i_pulse] = 0;
|
||||
|
||||
for (size_t i_module=0; i_module < n_modules_; i_module++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user