aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-04-06 10:40:37 -0700
committerMartin Braun <martin.braun@ettus.com>2017-04-06 10:40:37 -0700
commit8ad7324b51eecff5efae5c4cb6fb509da38e8fc0 (patch)
tree9342c915a3ece559e6e994ffcc943100a914ab7f /host/lib/usrp/x300/x300_impl.cpp
parentaf75b87e51a7c555a61f5f40f0d19f2fde04e43b (diff)
parent748689ae5402b154d78b60d61b67cb96b50d7916 (diff)
downloaduhd-8ad7324b51eecff5efae5c4cb6fb509da38e8fc0.tar.gz
uhd-8ad7324b51eecff5efae5c4cb6fb509da38e8fc0.tar.bz2
uhd-8ad7324b51eecff5efae5c4cb6fb509da38e8fc0.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index 785f7b4a3..ac08cf565 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -1128,14 +1128,14 @@ uhd::both_xports_t x300_impl::make_transport(
? X300_PCIE_RX_DATA_FRAME_SIZE
: X300_PCIE_MSG_FRAME_SIZE;
- default_buff_args.num_send_frames =
- (xport_type == TX_DATA)
- ? X300_PCIE_DATA_NUM_FRAMES
+ default_buff_args.num_send_frames =
+ (xport_type == TX_DATA)
+ ? X300_PCIE_TX_DATA_NUM_FRAMES
: X300_PCIE_MSG_NUM_FRAMES;
default_buff_args.num_recv_frames =
(xport_type == RX_DATA)
- ? X300_PCIE_DATA_NUM_FRAMES
+ ? X300_PCIE_RX_DATA_NUM_FRAMES
: X300_PCIE_MSG_NUM_FRAMES;
xports.recv = nirio_zero_copy::make(