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


The following commit(s) were added to refs/heads/master by this push:
     new 38d08c938 nimble/ll: Fix calculating BIG scheduler start time
38d08c938 is described below

commit 38d08c938547e3d76bb7b1ff6ac294813aaeeb2b
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Thu Oct 17 00:55:15 2024 +0200

    nimble/ll: Fix calculating BIG scheduler start time
    
    The same code is executed already in big_sched_set resulting in sched
    offset being subtracted twice.
---
 nimble/controller/src/ble_ll_iso_big.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/nimble/controller/src/ble_ll_iso_big.c 
b/nimble/controller/src/ble_ll_iso_big.c
index 19af3e61f..5109a6b6b 100644
--- a/nimble/controller/src/ble_ll_iso_big.c
+++ b/nimble/controller/src/ble_ll_iso_big.c
@@ -573,10 +573,6 @@ ble_ll_iso_big_event_done(struct ble_ll_iso_big *big)
         big->anchor_offset++;
         big_sched_set(big);
 
-        big->sch.end_time = big->sch.start_time +
-                            ble_ll_tmr_u2t_up(big->sync_delay) + 1;
-        big->sch.start_time -= g_ble_ll_sched_offset_ticks;
-
         /* XXX this should always succeed since we preempt anything for now */
         rc = ble_ll_sched_iso_big(&big->sch, 0, 0);
         assert(rc == 0);

Reply via email to