:impl of cmake flags and usage of different detector packets.

This commit is contained in:
2021-02-01 16:10:45 +01:00
committed by hax_l
parent 11cb0eb3ce
commit ac442f0a00
10 changed files with 59 additions and 32 deletions
+1
View File
@@ -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>
+1 -1
View File
@@ -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;