From 429462742e83a277962db221cede7426ea17c6ca Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 28 Aug 2013 13:26:00 -0700 Subject: test_timed_commands: explicitly set RX stream time to be less than recv timeout --- host/examples/test_timed_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 > 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" -- cgit v1.2.3