aboutsummaryrefslogtreecommitdiffstats
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:41 -0700
commite83c35c7e7b037f06183ed4d445cfd7eb74b16a9 (patch)
treeedcb6262dc982fd362f890906cd011af145ffbb6
parentc1a82d2578a9ab0e4d7e1821a8e05d856e6c757d (diff)
downloaduhd-e83c35c7e7b037f06183ed4d445cfd7eb74b16a9.tar.gz
uhd-e83c35c7e7b037f06183ed4d445cfd7eb74b16a9.tar.bz2
uhd-e83c35c7e7b037f06183ed4d445cfd7eb74b16a9.zip
usrp: fix check for max stream_cmd.num_samps, upper 4 bits reserved
-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