summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-11-19 11:16:44 -0800
committerMichael West <michael.west@ettus.com>2013-11-19 11:16:44 -0800
commit39d69b3a8871e4d6f442511e57394f83a012d3b6 (patch)
treeb4c3f4f9dfcdf8f3e723141ee233bd62f19b0b33 /host/lib/usrp/b200
parent7961fc2388211ea2edf8313ef729408acc700dd1 (diff)
downloaduhd-39d69b3a8871e4d6f442511e57394f83a012d3b6.tar.gz
uhd-39d69b3a8871e4d6f442511e57394f83a012d3b6.tar.bz2
uhd-39d69b3a8871e4d6f442511e57394f83a012d3b6.zip
BUG #183: Addressed comments from code review.
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r--host/lib/usrp/b200/b200_io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp
index f2d463a79..1feeff1a3 100644
--- a/host/lib/usrp/b200/b200_io_impl.cpp
+++ b/host/lib/usrp/b200/b200_io_impl.cpp
@@ -238,7 +238,7 @@ rx_streamer::sptr b200_impl::get_rx_stream(const uhd::stream_args_t &args_)
const size_t bpp = _data_transport->get_recv_frame_size() - hdr_size;
const size_t bpi = convert::get_bytes_per_item(args.otw_format);
size_t spp = unsigned(args.args.cast<double>("spp", bpp/bpi));
- spp = std::min<size_t>(4092, spp); //magic maximum for framing at full rate
+ spp = std::min<size_t>(2044, spp); //magic maximum for framing at full rate
//make the new streamer given the samples per packet
if (not my_streamer) my_streamer = boost::make_shared<sph::recv_packet_streamer>(spp);