mirror of https://github.com/PentHertz/srsLTE.git
Set different timestamp behaviour for X300 and B200
This commit is contained in:
parent
08a0d6bc0a
commit
c4080e35cc
|
@ -1342,7 +1342,12 @@ int rf_uhd_send_timed_multi(void* h,
|
|||
|
||||
// Set start of burst. Time spec only for the first packet in the burst
|
||||
md.start_of_burst = is_start_of_burst;
|
||||
md.has_time_spec = is_start_of_burst and has_time_spec;
|
||||
// X300 devices work better if Timespec is sent at the start of the burst only
|
||||
if (!handler->devname.compare(DEVNAME_X300)) {
|
||||
md.has_time_spec = is_start_of_burst and has_time_spec;
|
||||
} else {
|
||||
md.has_time_spec = is_start_of_burst or has_time_spec;
|
||||
}
|
||||
|
||||
// middle packets are never end of burst, last one as defined
|
||||
if (nsamples - n > (int)tx_samples) {
|
||||
|
|
Loading…
Reference in New Issue