diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-07 10:11:32 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-07 10:11:32 -0700 |
commit | 86b021e48031f2bc6e99c7c5d2d626ea149dec70 (patch) | |
tree | c107d3d7fb0f34da17085c06e81aa96258c38746 /host/examples/tx_timed_samples.cpp | |
parent | d5a0960455560e9f6077aa45d52aa01c469769dd (diff) | |
parent | b40ace72dd1b940fc0ce6e4a5e06346439dd5625 (diff) | |
download | uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.tar.gz uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.tar.bz2 uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.zip |
Merge branch 'next' into usrp_e_mmap_b2
Diffstat (limited to 'host/examples/tx_timed_samples.cpp')
-rw-r--r-- | host/examples/tx_timed_samples.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp index 2a15b2f66..863446682 100644 --- a/host/examples/tx_timed_samples.cpp +++ b/host/examples/tx_timed_samples.cpp @@ -99,7 +99,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //send will backup into the host this many seconds before sending: seconds_in_future + 0.1 //timeout (delay before transmit + padding) ); - if (num_tx_samps == 0) std::cout << "Send timeout..." << std::endl; + if (num_tx_samps < samps_to_send) std::cout << "Send timeout..." << std::endl; if(verbose) std::cout << std::endl << boost::format("Sent %d samples") % num_tx_samps << std::endl; } |