aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/examples/tx_bursts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_bursts.cpp b/host/examples/tx_bursts.cpp
index e5d1ec73e..36eff6d94 100644
--- a/host/examples/tx_bursts.cpp
+++ b/host/examples/tx_bursts.cpp
@@ -115,7 +115,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
md.time_spec = uhd::time_spec_t(time_to_send);
//the first call to send() will block this many seconds before sending:
- double timeout = seconds_in_future + 0.1; //timeout (delay before transmit + padding)
+ double timeout = std::max(rep_rate, seconds_in_future) + 0.1; //timeout (delay before transmit + padding)
size_t num_acc_samps = 0; //number of accumulated samples
while(num_acc_samps < total_num_samps){