diff options
author | Matthew Crymble <matthew.crymble@ni.com> | 2020-08-03 14:48:03 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-08-04 15:46:54 -0500 |
commit | c13ba0d21f80fee022f31e13cad0c5b0aa712aaf (patch) | |
tree | 12ed62a09f3e2834f7d7a229153ef6dae4871873 /host/lib/usrp/x300 | |
parent | d81816a225979ff26bf1eec454f1caddb94d0ab6 (diff) | |
download | uhd-c13ba0d21f80fee022f31e13cad0c5b0aa712aaf.tar.gz uhd-c13ba0d21f80fee022f31e13cad0c5b0aa712aaf.tar.bz2 uhd-c13ba0d21f80fee022f31e13cad0c5b0aa712aaf.zip |
X300: fix for incorrect PCIe buffer size values
added extra args to get PCIe buffer sizes from factory method
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r-- | host/lib/usrp/x300/x300_pcie_mgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_pcie_mgr.cpp b/host/lib/usrp/x300/x300_pcie_mgr.cpp index d3f4eba27..0ca918e3c 100644 --- a/host/lib/usrp/x300/x300_pcie_mgr.cpp +++ b/host/lib/usrp/x300/x300_pcie_mgr.cpp @@ -356,7 +356,7 @@ both_links_t pcie_manager::get_links(link_type_t link_type, // PCIe: Lossless, and little endian size_t recv_buff_size, send_buff_size; auto link = - nirio_link::make(_rio_fpga_interface, dma_channel_num, link_params, link_args); + nirio_link::make(_rio_fpga_interface, dma_channel_num, link_params, link_args, recv_buff_size, send_buff_size); return std::make_tuple( link, send_buff_size, link, recv_buff_size, false /*not lossy*/, false); |