summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-05-26 14:00:45 -0700
committerNick Foster <nick@ettus.com>2011-05-26 14:00:45 -0700
commitcf780ec405fe422ee186ff4b10c6f0f59c6a3628 (patch)
tree759cfee592ecc8562aeb04ff706e5c448de67d3d /host
parent5208cc8b60472330af61b28ea62d2f2a546fb00f (diff)
downloaduhd-cf780ec405fe422ee186ff4b10c6f0f59c6a3628.tar.gz
uhd-cf780ec405fe422ee186ff4b10c6f0f59c6a3628.tar.bz2
uhd-cf780ec405fe422ee186ff4b10c6f0f59c6a3628.zip
tx_timed_samples: fix so EOB isn't set on every pkt
Diffstat (limited to 'host')
-rw-r--r--host/examples/tx_timed_samples.cpp2
1 files changed, 1 insertions, 1 deletions
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(