From dce94c60f7ccddc2d7627a530c72aa78fddb25f0 Mon Sep 17 00:00:00 2001
From: Daniel Jepson <daniel.jepson@ni.com>
Date: Thu, 5 Apr 2018 16:46:10 -0500
Subject: uhd: increase tx buffer fill time for txrx_loopback_to_file example

The previous 0.1s fill time occasionally prevented rx from starting on time when
settling is set to the same 0.1s time. It was increased to 0.5s.
---
 host/examples/txrx_loopback_to_file.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'host')

diff --git a/host/examples/txrx_loopback_to_file.cpp b/host/examples/txrx_loopback_to_file.cpp
index 73cc7af50..9e6617d76 100644
--- a/host/examples/txrx_loopback_to_file.cpp
+++ b/host/examples/txrx_loopback_to_file.cpp
@@ -405,7 +405,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
     md.start_of_burst = true;
     md.end_of_burst   = false;
     md.has_time_spec  = true;
-    md.time_spec = uhd::time_spec_t(0.1); //give us 0.1 seconds to fill the tx buffers
+    md.time_spec = uhd::time_spec_t(0.5); //give us 0.5 seconds to fill the tx buffers
 
     //Check Ref and LO Lock detect
     std::vector<std::string> tx_sensor_names, rx_sensor_names;
-- 
cgit v1.2.3