summaryrefslogtreecommitdiffstats
path: root/host/examples/tx_bursts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/tx_bursts.cpp')
-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 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(