mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-10 16:22:05 +02:00
Rename core_config to buffer_config namespace
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
namespace core_buffer {
|
||||
namespace buffer_config {
|
||||
|
||||
const size_t MODULE_X_SIZE = 1024;
|
||||
const size_t MODULE_Y_SIZE = 512;
|
||||
|
||||
@@ -24,7 +24,7 @@ struct ModuleFrameBuffer {
|
||||
struct BufferBinaryFormat {
|
||||
const char FORMAT_MARKER = 0xBE;
|
||||
ModuleFrame metadata;
|
||||
char data[core_buffer::MODULE_N_BYTES];
|
||||
char data[buffer_config::MODULE_N_BYTES];
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
@@ -32,7 +32,7 @@ struct BufferBinaryFormat {
|
||||
#pragma pack(1)
|
||||
struct BufferBinaryBlock
|
||||
{
|
||||
BufferBinaryFormat frame[core_buffer::BUFFER_BLOCK_SIZE];
|
||||
BufferBinaryFormat frame[buffer_config::BUFFER_BLOCK_SIZE];
|
||||
uint64_t start_pulse_id;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
Reference in New Issue
Block a user