mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-02 00:42:22 +02:00
Small fixes to RamBuffer before tests
This commit is contained in:
@@ -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,5 +1,5 @@
|
||||
#include <sys/mman.h>
|
||||
#include <bits/fcntl-linux.h>
|
||||
#include <fcntl.h>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user