Skip to content

Commit 364ec93

Browse files
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.
1 parent bda4b0c commit 364ec93

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nimble/controller/src/ble_ll_iso_big.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,6 @@ ble_ll_iso_big_event_done(struct ble_ll_iso_big *big)
573573
big->anchor_offset++;
574574
big_sched_set(big);
575575

576-
big->sch.end_time = big->sch.start_time +
577-
ble_ll_tmr_u2t_up(big->sync_delay) + 1;
578-
big->sch.start_time -= g_ble_ll_sched_offset_ticks;
579-
580576
/* XXX this should always succeed since we preempt anything for now */
581577
rc = ble_ll_sched_iso_big(&big->sch, 0, 0);
582578
assert(rc == 0);

0 commit comments

Comments
 (0)