diff options
author | Josh Blum <josh@joshknows.com> | 2013-08-28 17:34:08 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-08-28 17:34:08 -0700 |
commit | 8814558fcad1e1425d929035a651ab51aad05994 (patch) | |
tree | 6ffec8a61e82db5e5bcd305242d01ee604c4fff2 /host/examples | |
parent | 96e50aebb7a4b3f98aac3c11aa1a3f06c14c0849 (diff) | |
parent | 429462742e83a277962db221cede7426ea17c6ca (diff) | |
download | uhd-8814558fcad1e1425d929035a651ab51aad05994.tar.gz uhd-8814558fcad1e1425d929035a651ab51aad05994.tar.bz2 uhd-8814558fcad1e1425d929035a651ab51aad05994.zip |
Merge branch 'maint'
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/test_timed_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_timed_commands.cpp b/host/examples/test_timed_commands.cpp index 5dee58887..224961d04 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" |