summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-09-08 15:20:07 -0700
committerJosh Blum <josh@joshknows.com>2011-09-08 15:20:07 -0700
commited0e38b2b2a0901296c6bb9619a6d6c405db0e28 (patch)
tree52051b68526f300da71e6b8393bdc8b0e4228aeb /host
parent2ff0ef08dbb4246222cb3d3c1ddacc182b64edf4 (diff)
downloaduhd-ed0e38b2b2a0901296c6bb9619a6d6c405db0e28.tar.gz
uhd-ed0e38b2b2a0901296c6bb9619a6d6c405db0e28.tar.bz2
uhd-ed0e38b2b2a0901296c6bb9619a6d6c405db0e28.zip
usrp: fix check for max stream_cmd.num_samps, upper 4 bits reserved
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/cores/rx_dsp_core_200.cpp2
1 files changed, 1 insertions, 1 deletions
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