From cf780ec405fe422ee186ff4b10c6f0f59c6a3628 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 26 May 2011 14:00:45 -0700 Subject: tx_timed_samples: fix so EOB isn't set on every pkt --- host/examples/tx_timed_samples.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples') diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp index d33dc13c3..79aa6738c 100644 --- a/host/examples/tx_timed_samples.cpp +++ b/host/examples/tx_timed_samples.cpp @@ -91,7 +91,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ size_t samps_to_send = std::min(total_num_samps - num_acc_samps, buff.size()); //ensure the the last packet has EOB set - md.end_of_burst = samps_to_send <= buff.size(); + md.end_of_burst = samps_to_send < buff.size(); //send a single packet size_t num_tx_samps = usrp->get_device()->send( -- cgit v1.2.3