Skip to content

Commit

Permalink
applications: nrf5340_audio: Only run just-in-time for CIS unidir
Browse files Browse the repository at this point in the history
- Check config for unicast_client and not bidir
- OCT-NONE

Signed-off-by: Alexander Svensen <[email protected]>
  • Loading branch information
alexsven authored and rlubos committed Jan 22, 2024
1 parent 808ed6d commit 9c8ba77
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ int bt_le_audio_tx_send(struct bt_bap_stream **bap_streams, struct le_audio_enco
}

if (ts != 0 && got_tx_sync_ts) {
if (!IS_ENABLED(CONFIG_STREAM_BIDIRECTIONAL)) {
if (IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) &&
!IS_ENABLED(CONFIG_STREAM_BIDIRECTIONAL)) {
struct sdu_ref_msg msg;

msg.timestamp = ts;
Expand Down

0 comments on commit 9c8ba77

Please sign in to comment.