aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorDaniel Jepson <daniel.jepson@ni.com>2018-04-05 16:46:10 -0500
committerMartin Braun <martin.braun@ettus.com>2018-04-10 09:58:34 -0700
commitdce94c60f7ccddc2d7627a530c72aa78fddb25f0 (patch)
tree17e2b3d62aeb71740ca47eb2337040995f2d2ebf /host
parentc75edc1d4829709ab379d9ff3c0ce1e444f0dcc1 (diff)
downloaduhd-dce94c60f7ccddc2d7627a530c72aa78fddb25f0.tar.gz
uhd-dce94c60f7ccddc2d7627a530c72aa78fddb25f0.tar.bz2
uhd-dce94c60f7ccddc2d7627a530c72aa78fddb25f0.zip
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.
Diffstat (limited to 'host')
-rw-r--r--host/examples/txrx_loopback_to_file.cpp2
1 files changed, 1 insertions, 1 deletions
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;