From b9c3688d05defd71d7a24e7a750dc8954733ee8b Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 22 Jul 2016 18:40:32 -0700 Subject: examples: Fixed unconditional wait for SISO case in benchmark_rate --- host/examples/benchmark_rate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples') 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 -- cgit v1.2.3