This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 6bb6f7b12cf05881d759a3eeba7631b719261816
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Fri Mar 7 12:15:31 2025 +0100

    nimble/ll: Update assert and related comment in BIG code
    
    The comment is still valid since scheduling should never fail if we
    allow to preempt any other event.
---
 nimble/controller/src/ble_ll_iso_big.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nimble/controller/src/ble_ll_iso_big.c 
b/nimble/controller/src/ble_ll_iso_big.c
index 286e55814..492bf2376 100644
--- a/nimble/controller/src/ble_ll_iso_big.c
+++ b/nimble/controller/src/ble_ll_iso_big.c
@@ -610,9 +610,9 @@ ble_ll_iso_big_event_done(struct ble_ll_iso_big *big)
         big->anchor_offset++;
         big_sched_set(big);
 
-        /* XXX this should always succeed since we preempt anything for now */
+        /* This should always succeed since we preempt anything for now */
         rc = ble_ll_sched_iso_big(&big->sch, 0, 1);
-        assert(rc == 0);
+        BLE_LL_ASSERT(rc == 0);
     } while (rc < 0);
 
     ble_ll_iso_big_update_event_start(big, big_counter);

Reply via email to