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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2024-09-10 22:09:44 +02:00 committed by David Leach
parent 906ae3591c
commit eb180052bb

View file

@ -22,7 +22,7 @@
#define PA_RETRY_COUNT 6 #define PA_RETRY_COUNT 6
#define BIS_ISO_CHAN_COUNT 2 #define BIS_ISO_CHAN_COUNT MIN(2U, CONFIG_BT_ISO_MAX_CHAN)
static bool per_adv_found; static bool per_adv_found;
static bool per_adv_lost; static bool per_adv_lost;