diff options
author | Michael West <michael.west@ettus.com> | 2019-06-19 13:24:26 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-07-18 08:46:16 -0700 |
commit | ab6893ab32f001d9aab1606bad34fafc4ab76933 (patch) | |
tree | b9b52ec650af72f4ac5723aae768063d0031753c /host/lib | |
parent | 13a2ab5c88de1ae3d5ef4ba33ba2504dc455a0ad (diff) | |
download | uhd-ab6893ab32f001d9aab1606bad34fafc4ab76933.tar.gz uhd-ab6893ab32f001d9aab1606bad34fafc4ab76933.tar.bz2 uhd-ab6893ab32f001d9aab1606bad34fafc4ab76933.zip |
nirio: Fix typo in nirio_zero_copy
Signed-off-by: Michael West <michael.west@ettus.com>
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/nirio_zero_copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp index e72064427..9cd6644f1 100644 --- a/host/lib/transport/nirio_zero_copy.cpp +++ b/host/lib/transport/nirio_zero_copy.cpp @@ -411,7 +411,7 @@ nirio_zero_copy::sptr nirio_zero_copy::make( size_t usr_num_recv_frames = static_cast<size_t>( hints.cast<double>("num_recv_frames", default_buff_args.num_recv_frames)); size_t usr_recv_buff_size = static_cast<size_t>( - hints.cast<double>("recv_buff_size", default_buff_args.num_recv_frames)); + hints.cast<double>("recv_buff_size", default_buff_args.recv_buff_size)); if (hints.has_key("recv_buff_size")) { if (usr_recv_buff_size % page_size != 0) { |