aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-04-17 17:05:45 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-18 10:11:06 -0700
commit0e909a2a9d2432c1f935f79953e78663b4129132 (patch)
tree62b80851aec707e04cca598d1c2470f8aeba6b23 /host
parent9ec16940fdd49836e36c60d10884b38770125a58 (diff)
downloaduhd-0e909a2a9d2432c1f935f79953e78663b4129132.tar.gz
uhd-0e909a2a9d2432c1f935f79953e78663b4129132.tar.bz2
uhd-0e909a2a9d2432c1f935f79953e78663b4129132.zip
examples: Remove superfluous sleep
Diffstat (limited to 'host')
-rw-r--r--host/examples/tx_samples_from_file.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/examples/tx_samples_from_file.cpp b/host/examples/tx_samples_from_file.cpp
index 31d70ad7e..108ab4230 100644
--- a/host/examples/tx_samples_from_file.cpp
+++ b/host/examples/tx_samples_from_file.cpp
@@ -11,7 +11,6 @@
#include <uhd/usrp/multi_usrp.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
-#include <boost/thread.hpp>
#include <iostream>
#include <fstream>
#include <complex>
@@ -197,7 +196,6 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
else throw std::runtime_error("Unknown type " + type);
if(repeat and delay > 0.0) {
- boost::this_thread::sleep(boost::posix_time::milliseconds(delay));
std::this_thread::sleep_for(
std::chrono::milliseconds(int64_t(delay*1000))
);