samples: Bluetooth: CAP: Add missing argument to get_chan_allocation
The sample was missing a argument to the function. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
1d9907a712
commit
2690cacf65
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue