mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-07-30 12:33:37 +02:00
:impl of cmake flags and usage of different detector packets.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <buffer_config.hpp>
|
||||
#include <zmq.h>
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
#include <rapidjson/istreamwrapper.h>
|
||||
#include <rapidjson/document.h>
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
|
||||
@@ -101,7 +101,7 @@ char* RamBuffer::read_image(const uint64_t pulse_id,
|
||||
ModuleFrame *frame_meta = src_meta + i_module;
|
||||
|
||||
auto is_good_frame =
|
||||
frame_meta->n_recv_packets == EIGER_N_PACKETS_PER_FRAME;
|
||||
frame_meta->n_recv_packets == N_PACKETS_PER_FRAME;
|
||||
|
||||
if (!is_good_frame) {
|
||||
is_good_image = false;
|
||||
|
||||
Reference in New Issue
Block a user