summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-08-28 13:26:00 -0700
committerJosh Blum <josh@joshknows.com>2013-08-28 16:02:41 -0700
commit429462742e83a277962db221cede7426ea17c6ca (patch)
tree06243e5ed0b03477a8660d0b7cdaa697cd491e3a /host
parent7b9a7e74dcc4b40bcedc59695c827e4d1d1e7d59 (diff)
downloaduhd-429462742e83a277962db221cede7426ea17c6ca.tar.gz
uhd-429462742e83a277962db221cede7426ea17c6ca.tar.bz2
uhd-429462742e83a277962db221cede7426ea17c6ca.zip
test_timed_commands: explicitly set RX stream time to be less than recv timeout
Diffstat (limited to 'host')
-rw-r--r--host/examples/test_timed_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_timed_commands.cpp b/host/examples/test_timed_commands.cpp
index 34c83dfd6..05a03e601 100644
--- a/host/examples/test_timed_commands.cpp
+++ b/host/examples/test_timed_commands.cpp
@@ -106,7 +106,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//allocate buffer to receive with samples
std::vector<std::complex<float> > buff(stream_cmd.num_samps);
- const size_t num_rx_samps = rx_stream->recv(&buff.front(), buff.size(), md);
+ const size_t num_rx_samps = rx_stream->recv(&buff.front(), buff.size(), md, 1.0);
if (md.error_code != uhd::rx_metadata_t::ERROR_CODE_NONE){
throw std::runtime_error(str(boost::format(
"Unexpected error code 0x%x"