From 6d53b7eb4b94ec5e0d52cffbbc43fa63516ac270 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Fri, 16 Mar 2012 13:58:27 -0700 Subject: tx_bursts: set EOB on nsamps <= spb --- host/examples/tx_bursts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples') diff --git a/host/examples/tx_bursts.cpp b/host/examples/tx_bursts.cpp index f5ae18a9f..5a10ff81b 100644 --- a/host/examples/tx_bursts.cpp +++ b/host/examples/tx_bursts.cpp @@ -128,7 +128,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ size_t samps_to_send = std::min(total_num_samps - num_acc_samps, spb); //ensure the the last packet has EOB set - md.end_of_burst = samps_to_send < spb; + md.end_of_burst = samps_to_send <= spb; //send a single packet size_t num_tx_samps = tx_stream->send( -- cgit v1.2.3