From 8282d308a8a6f019cd0c5ccb1ef54f9668470b10 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 14 Mar 2024 15:01:24 +0100 Subject: [PATCH] Revert "hci: fix warning" This reverts commit c3d6a72ba353a6ffbaf78a484d6a4d9f509beeef. --- src/hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hci.c b/src/hci.c index c20033724..bcced61ac 100644 --- a/src/hci.c +++ b/src/hci.c @@ -4556,9 +4556,11 @@ static void event_handler(uint8_t *packet, uint16_t size){ big_sync = hci_big_sync_for_handle(packet[4]); if (big_sync != NULL){ uint8_t status = packet[3]; + uint8_t big_handle = packet[4]; if (status == ERROR_CODE_SUCCESS){ // store bis_con_handles and trigger iso path setup uint8_t num_bis = btstack_min(big_sync->num_bis, packet[16]); + uint8_t i; for (i=0;ibis_con_handles[i] = bis_handle;