Small fixes to RamBuffer before tests

This commit is contained in:
2020-09-04 13:00:31 +02:00
parent bf1a5a928b
commit 13f46908c5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class RamBuffer {
public:
RamBuffer(const std::string& detector_name,
const int n_modules,
const int n_slots=RAM_BUFFER_N_SLOTS);
const int n_slots=buffer_config::RAM_BUFFER_N_SLOTS);
~RamBuffer();
void write_frame(const ModuleFrame *src_meta, const char *src_data) const;
+1 -1
View File
@@ -1,5 +1,5 @@
#include <sys/mman.h>
#include <bits/fcntl-linux.h>
#include <fcntl.h>
#include <cstring>
#include <stdexcept>
#include <unistd.h>