From e83c35c7e7b037f06183ed4d445cfd7eb74b16a9 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 8 Sep 2011 15:20:07 -0700 Subject: usrp: fix check for max stream_cmd.num_samps, upper 4 bits reserved --- host/lib/usrp/cores/rx_dsp_core_200.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/usrp/cores/rx_dsp_core_200.cpp b/host/lib/usrp/cores/rx_dsp_core_200.cpp index b377b16f0..a83a93d24 100644 --- a/host/lib/usrp/cores/rx_dsp_core_200.cpp +++ b/host/lib/usrp/cores/rx_dsp_core_200.cpp @@ -83,7 +83,7 @@ public: } void issue_stream_command(const stream_cmd_t &stream_cmd){ - UHD_ASSERT_THROW(stream_cmd.num_samps <= 0x1fffffff); + UHD_ASSERT_THROW(stream_cmd.num_samps <= 0x0fffffff); _continuous_streaming = stream_cmd.stream_mode == stream_cmd_t::STREAM_MODE_START_CONTINUOUS; //setup the mode to instruction flags -- cgit v1.2.3