Skip to content

Commit

Permalink
nimble/ll: Fix calculating BIG scheduler start time
Browse files Browse the repository at this point in the history
The same code is executed already in big_sched_set resulting in sched
offset being subtracted twice.
  • Loading branch information
andrzej-kaczmarek committed Oct 16, 2024
1 parent bda4b0c commit 364ec93
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nimble/controller/src/ble_ll_iso_big.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 364ec93

Please sign in to comment.