From 5dd111bde35090fbc22dc13a95c58fcda5254a49 Mon Sep 17 00:00:00 2001 From: Dmitry Ozerov Date: Fri, 20 Nov 2020 11:50:34 +0100 Subject: [PATCH] changes in jungfrau header package for 5.0.0 slsDetector version --- core-buffer/include/jungfrau.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core-buffer/include/jungfrau.hpp b/core-buffer/include/jungfrau.hpp index 8e9e333..99156e6 100644 --- a/core-buffer/include/jungfrau.hpp +++ b/core-buffer/include/jungfrau.hpp @@ -4,16 +4,15 @@ #include #define JUNGFRAU_N_MODULES 32 -#define JUNGFRAU_BYTES_PER_PACKET 8246 +#define JUNGFRAU_BYTES_PER_PACKET 8240 #define JUNGFRAU_DATA_BYTES_PER_PACKET 8192 #define JF_N_PACKETS_PER_FRAME 128 #define JUNGFRAU_DATA_BYTES_PER_FRAME 1048576 -// 6 bytes + 48 bytes + 8192 bytes = 8246 bytes +// 48 bytes + 8192 bytes = 8240 bytes #pragma pack(push) #pragma pack(2) struct jungfrau_packet { - char emptyheader[6]; uint64_t framenum; uint32_t exptime; uint32_t packetnum; @@ -35,4 +34,4 @@ struct jungfrau_packet { #pragma pack(pop) -#endif \ No newline at end of file +#endif