mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-08 15:42:03 +02:00
Removed MODULE_N_BYTES requirement
This commit is contained in:
@@ -57,7 +57,7 @@ int main (int argc, char *argv[])
|
||||
EigerAssembler assembler(config.n_submodules, bit_depth);
|
||||
|
||||
RamBuffer frame_buffer(config.detector_name,
|
||||
sizeof(ModuleFrame), MODULE_N_BYTES, config.n_modules);
|
||||
sizeof(ModuleFrame), MODULE_N_PIXELS * bit_depth, config.n_modules);
|
||||
|
||||
RamBuffer image_buffer(config.detector_name + "_" + stream_name,
|
||||
sizeof(ImageMetadata), assembler.get_image_n_bytes(), 1);
|
||||
|
||||
Reference in New Issue
Block a user