libbladeRF: fix typo in sync_tx
This commit is contained in:
parent
cf181d0427
commit
9fc57e6c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -1209,7 +1209,7 @@ int sync_tx(struct bladerf_sync *s,
|
|||
samples2bytes(s, samples_to_copy));
|
||||
|
||||
s->meta.curr_msg_off += samples_to_copy;
|
||||
if (s->stream_config.layout == BLADERF_RX_X2)
|
||||
if (s->stream_config.layout == BLADERF_TX_X2)
|
||||
s->meta.curr_timestamp += samples_to_copy / 2;
|
||||
else
|
||||
s->meta.curr_timestamp += samples_to_copy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue