From 9038df146e390f8aafc9f2cab54d35ba7c6cc9a7 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 13 May 2020 19:06:33 +0200 Subject: [PATCH] Add new type of packet for compressed frames --- core-buffer/include/jungfrau.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core-buffer/include/jungfrau.hpp b/core-buffer/include/jungfrau.hpp index fbd1119..9b23915 100644 --- a/core-buffer/include/jungfrau.hpp +++ b/core-buffer/include/jungfrau.hpp @@ -47,6 +47,14 @@ struct ModuleFrame { }; #pragma pack(pop) +#pragma pack(push) +#pragma pack(1) +struct CompressedModuleFrame { + ModuleFrame module_frame; + uint64_t compressed_size; +}; +#pragma pack(pop) + struct ModuleFrameBuffer { ModuleFrame module[JUNGFRAU_N_MODULES]; };