From 78899d319f15e7d0b3b865c580f81cfdcf0d8389 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Mon, 5 Jul 2021 14:50:39 +0200 Subject: [PATCH] Adjust FrameStats invocation --- std-udp-recv/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/std-udp-recv/src/main.cpp b/std-udp-recv/src/main.cpp index 3d4010f..45d522a 100644 --- a/std-udp-recv/src/main.cpp +++ b/std-udp-recv/src/main.cpp @@ -52,8 +52,8 @@ int main (int argc, char *argv[]) { FrameUdpReceiver receiver(udp_port); RamBuffer frame_buffer(config.detector_name, sizeof(ModuleFrame), FRAME_N_BYTES, config.n_modules); - FrameStats stats(config.detector_name, config.n_modules, - module_id, bit_depth, STATS_TIME); + FrameStats stats(config.detector_name, module_id, + N_PACKETS_PER_FRAME, STATS_TIME); auto ctx = zmq_ctx_new(); auto socket = bind_socket(ctx, config.detector_name, to_string(module_id));