mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-28 18:42:21 +02:00
eiger_packet definitions and initial related changes
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "RamBuffer.hpp"
|
||||
#include "buffer_config.hpp"
|
||||
|
||||
|
||||
using namespace std;
|
||||
using namespace buffer_config;
|
||||
|
||||
@@ -100,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 == JF_N_PACKETS_PER_FRAME;
|
||||
frame_meta->n_recv_packets == EIGER_N_PACKETS_PER_FRAME;
|
||||
|
||||
if (!is_good_frame) {
|
||||
is_good_image = false;
|
||||
|
||||
Reference in New Issue
Block a user