From 2690cacf659226ee4abf707c0d8618972306657d Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Thu, 13 Jun 2024 20:38:55 +0200 Subject: [PATCH] samples: Bluetooth: CAP: Add missing argument to get_chan_allocation The sample was missing a argument to the function. Signed-off-by: Emil Gydesen --- samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c b/samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c index 968e46c454f..9015eb40995 100644 --- a/samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c +++ b/samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c @@ -79,7 +79,8 @@ static void log_codec_cfg(const struct bt_audio_codec_cfg *codec_cfg) bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret)); } - if (bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation) == 0) { + if (bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation, true) == + 0) { LOG_INF("\tChannel allocation: 0x%08X", chan_allocation); }