diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-07-22 18:40:32 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-07-22 18:40:39 -0700 |
commit | b9c3688d05defd71d7a24e7a750dc8954733ee8b (patch) | |
tree | 6da17791ca79b447a4e8751d5d670e5b382750ed /host/examples/benchmark_rate.cpp | |
parent | 8a8b90183b063410350995fcbb04494c3bf0a1bc (diff) | |
download | uhd-b9c3688d05defd71d7a24e7a750dc8954733ee8b.tar.gz uhd-b9c3688d05defd71d7a24e7a750dc8954733ee8b.tar.bz2 uhd-b9c3688d05defd71d7a24e7a750dc8954733ee8b.zip |
examples: Fixed unconditional wait for SISO case in benchmark_rate
Diffstat (limited to 'host/examples/benchmark_rate.cpp')
-rw-r--r-- | host/examples/benchmark_rate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/benchmark_rate.cpp b/host/examples/benchmark_rate.cpp index 3d57037d5..aef4a7c25 100644 --- a/host/examples/benchmark_rate.cpp +++ b/host/examples/benchmark_rate.cpp @@ -427,7 +427,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ const long usecs = long((duration - secs)*1e6); boost::this_thread::sleep(boost::posix_time::seconds(secs) + boost::posix_time::microseconds(usecs) - + boost::posix_time::milliseconds(INIT_DELAY * 1000) + + boost::posix_time::milliseconds( (channel_nums.size() == 1) ? 0 : (INIT_DELAY * 1000)) ); //interrupt and join the threads |