From f7bbd77f2cc1e373f096064d172eba96f6a227c0 Mon Sep 17 00:00:00 2001 From: donghaobo <122531097@qq.com> Date: Fri, 28 Jul 2023 17:20:09 +0800 Subject: [PATCH] fix level 2+ ticks --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.c b/src/timer.c index ff6ab7730..d377161c0 100644 --- a/src/timer.c +++ b/src/timer.c @@ -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); } }