Skip to content

Commit eb18005

Browse files
cvinayakdleach02
authored andcommitted
samples: Bluetooth: iso_broadcast: Restrict max stream sync
Restrict possible maximum stream synchronization to implementation defined 2 stream, as structure declarations in the implementation is limited to 2. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 906ae35 commit eb18005

File tree

1 file changed

+1
-1
lines changed
  • samples/bluetooth/iso_receive/src

1 file changed

+1
-1
lines changed

samples/bluetooth/iso_receive/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#define PA_RETRY_COUNT 6
2424

25-
#define BIS_ISO_CHAN_COUNT 2
25+
#define BIS_ISO_CHAN_COUNT MIN(2U, CONFIG_BT_ISO_MAX_CHAN)
2626

2727
static bool per_adv_found;
2828
static bool per_adv_lost;

0 commit comments

Comments
 (0)