diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-04 16:49:34 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-04 16:49:34 -0800 |
commit | fabfa8d9dd6670afb9c621b9ee12f8d602d7ccda (patch) | |
tree | 107e43e35008e6df0d33b0e8a8f5f52d28a91493 /host/examples/tx_from_file.cpp | |
parent | 4711829f03ee2fcd1c4e9dc2a353af0e35497180 (diff) | |
parent | 7b0b2924d52bbbcb4660cad5d8070074426011ce (diff) | |
download | uhd-fabfa8d9dd6670afb9c621b9ee12f8d602d7ccda.tar.gz uhd-fabfa8d9dd6670afb9c621b9ee12f8d602d7ccda.tar.bz2 uhd-fabfa8d9dd6670afb9c621b9ee12f8d602d7ccda.zip |
Merge branch 'cordic_policy' into next
Conflicts:
host/lib/usrp/usrp2/usrp2_regs.cpp
host/lib/usrp/usrp2/usrp2_regs.hpp
Diffstat (limited to 'host/examples/tx_from_file.cpp')
-rw-r--r-- | host/examples/tx_from_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_from_file.cpp b/host/examples/tx_from_file.cpp index 9611cf47c..40ce6db6b 100644 --- a/host/examples/tx_from_file.cpp +++ b/host/examples/tx_from_file.cpp @@ -102,7 +102,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ size_t num_packets = (total_num_samps+samps_per_packet-1)/samps_per_packet; for (size_t i = 0; i < num_packets; i++){ //setup the metadata flags and time spec - md.start_of_burst = true; //always SOB (good for continuous streaming) + md.start_of_burst = (i == 0); //only first packet has SOB md.end_of_burst = (i == num_packets-1); //only last packet has EOB md.has_time_spec = (i == 0); //only first packet has time md.time_spec = uhd::time_spec_t(seconds_in_future); |