Rename core_config to buffer_config namespace

This commit is contained in:
2020-06-04 11:59:05 +02:00
parent a6e1c6c84e
commit 422b599b38
21 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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)