From 65ab392fd9c3d77636e0681ddcada2f7cfe429f2 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Tue, 10 Sep 2024 22:17:59 +0200 Subject: [PATCH] samples: Bluetooth: iso_broadcast: Fix buf alloc timeout Fix buf alloc timeout to 20 millisecond as the sent callback can have a latency that is upto twice the ISO interval. Signed-off-by: Vinayak Kariappa Chettimada --- samples/bluetooth/iso_broadcast/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bluetooth/iso_broadcast/src/main.c b/samples/bluetooth/iso_broadcast/src/main.c index 85460d10fdd5ce..bd840701983d8e 100644 --- a/samples/bluetooth/iso_broadcast/src/main.c +++ b/samples/bluetooth/iso_broadcast/src/main.c @@ -8,7 +8,7 @@ #include #include -#define BUF_ALLOC_TIMEOUT (10) /* milliseconds */ +#define BUF_ALLOC_TIMEOUT (20) /* milliseconds */ #define BIG_TERMINATE_TIMEOUT_US (60 * USEC_PER_SEC) /* microseconds */ #define BIG_SDU_INTERVAL_US (10000)