Bluetooth samples: Fix wrong SDU size check
Just a typo in broadcast sink sample main code. '<' changed to '>' in if statement. Signed-off-by: Jens Rehhoff Thomsen <jthm@demant.com>
This commit is contained in:
parent
94baef654c
commit
5b44edc4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@ static int lc3_enable(struct broadcast_sink_stream *sink_stream)
|
|||
chan_alloc_bit_cnt = bt_audio_get_chan_count(sink_stream->chan_allocation);
|
||||
sdu_size_required = chan_alloc_bit_cnt * sink_stream->lc3_octets_per_frame *
|
||||
sink_stream->lc3_frames_blocks_per_sdu;
|
||||
if (sdu_size_required < sink_stream->stream.qos->sdu) {
|
||||
if (sdu_size_required > sink_stream->stream.qos->sdu) {
|
||||
printk("With %zu channels and %u octets per frame and %u frames per block, SDUs "
|
||||
"shall be at minimum %zu, but the stream has been configured for %u",
|
||||
chan_alloc_bit_cnt, sink_stream->lc3_octets_per_frame,
|
||||
|
|
|
|||
Loading…
Reference in a new issue