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_timed_samples.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_timed_samples.cpp')
-rw-r--r-- | host/examples/tx_timed_samples.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp index 799da37e0..ef0cd8212 100644 --- a/host/examples/tx_timed_samples.cpp +++ b/host/examples/tx_timed_samples.cpp @@ -89,7 +89,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ for (size_t i = 0; i < num_packets; i++){ //setup the metadata flags and time spec uhd::tx_metadata_t md; - 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); |