aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio_zero_copy.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-03-31 13:44:31 -0700
committerMartin Braun <martin.braun@ettus.com>2017-03-31 13:44:31 -0700
commitcecf54772ee040fb4cd15cef8d177b5e30550996 (patch)
tree8e78cc079a8af69ea019185855f1df89d0f64ab0 /host/lib/transport/nirio_zero_copy.cpp
parent379f922dabee3d8684a98a64787e9f0ba46caa68 (diff)
parent47672ede5034df17bdc2f314f4e3b7afa8622bda (diff)
downloaduhd-cecf54772ee040fb4cd15cef8d177b5e30550996.tar.gz
uhd-cecf54772ee040fb4cd15cef8d177b5e30550996.tar.bz2
uhd-cecf54772ee040fb4cd15cef8d177b5e30550996.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/transport/nirio_zero_copy.cpp')
-rw-r--r--host/lib/transport/nirio_zero_copy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp
index e7a37eb08..81ba2a20e 100644
--- a/host/lib/transport/nirio_zero_copy.cpp
+++ b/host/lib/transport/nirio_zero_copy.cpp
@@ -182,11 +182,13 @@ public:
nirio_status_chain(
_recv_fifo->initialize(
(_xport_params.recv_frame_size*_xport_params.num_recv_frames)/sizeof(fifo_data_t),
+ _xport_params.recv_frame_size / sizeof(fifo_data_t),
actual_depth, actual_size),
status);
nirio_status_chain(
_send_fifo->initialize(
(_xport_params.send_frame_size*_xport_params.num_send_frames)/sizeof(fifo_data_t),
+ _xport_params.send_frame_size / sizeof(fifo_data_t),
actual_depth, actual_size),
status);