From c13ba0d21f80fee022f31e13cad0c5b0aa712aaf Mon Sep 17 00:00:00 2001 From: Matthew Crymble Date: Mon, 3 Aug 2020 14:48:03 -0500 Subject: X300: fix for incorrect PCIe buffer size values added extra args to get PCIe buffer sizes from factory method --- host/lib/usrp/x300/x300_pcie_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp') 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); -- cgit v1.2.3