Skip to content

Commit

Permalink
fix level 2+ ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
donghaobo authored Jul 28, 2023
1 parent 22fff53 commit f7bbd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ static int __dpvs_timer_sched(struct timer_scheduler *sched,
#endif
return EDPVS_OK;
} else {
timer->delay += sched->cursors[level];
timer->delay += sched->cursors[level] * get_level_ticks(level);
}
}

Expand Down

0 comments on commit f7bbd77

Please sign in to comment.