mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-28 11:41:28 +01:00
Add constructor to JF struct
This commit is contained in:
1 parent
57b0cdba07
commit
6cf7086761
1 file changed
+4
-1
@@ -8,7 +8,10 @@ const char JF_FORMAT_START_BYTE = 0xBE;
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct JFFileFormat {
|
||||
const char FORMAT_MARKER = JF_FORMAT_START_BYTE;
|
||||
|
||||
JFFileFormat() : FORMAT_MARKER(JF_FORMAT_START_BYTE) {};
|
||||
|
||||
const char FORMAT_MARKER;
|
||||
uint64_t pulse_id;
|
||||
uint64_t frame_id;
|
||||
uint32_t daq_rec;
|
||||
|
||||
Reference in new issue
Block a user