diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-30 17:26:58 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-30 17:26:58 -0800 |
commit | 7b0b2924d52bbbcb4660cad5d8070074426011ce (patch) | |
tree | 6748589165247d2382c81e320f8878aea8ce2da7 /host/examples/tx_from_file.cpp | |
parent | 0e22d0b03e835b5a793aff9b03cd3791733cdafc (diff) | |
download | uhd-7b0b2924d52bbbcb4660cad5d8070074426011ce.tar.gz uhd-7b0b2924d52bbbcb4660cad5d8070074426011ce.tar.bz2 uhd-7b0b2924d52bbbcb4660cad5d8070074426011ce.zip |
uhd: removed SOB always from tx examples,
use the multi usrp set unknown pps in the test app
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); |