Skip to content

Commit

Permalink
libbladeRF: fix typo in sync_tx
Browse files Browse the repository at this point in the history
  • Loading branch information
rghilduta committed Sep 19, 2023
1 parent cf181d0 commit 9fc57e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/libraries/libbladeRF/src/streaming/sync.c
Expand Up @@ -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;
Expand Down

0 comments on commit 9fc57e6

Please sign in to comment.