From 14fc2b6a0d4bce417b13abfdbb782cb2278d3201 Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Mon, 11 Jan 2021 10:38:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3timer=E5=9C=A8check=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=B2=A1=E6=9C=89=E4=BB=8E=E4=B8=B4=E6=97=B6=E9=93=BE?= =?UTF-8?q?=E8=A1=A8=E6=91=98=E9=99=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timer.c b/src/timer.c index 38c17687ad..838d1c2d1f 100644 --- a/src/timer.c +++ b/src/timer.c @@ -594,6 +594,7 @@ void rt_timer_check(void) continue; } + rt_list_remove(&(t->row[RT_TIMER_SKIP_LIST_LEVEL - 1])); if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) && (t->parent.flag & RT_TIMER_FLAG_ACTIVATED)) { @@ -682,6 +683,7 @@ void rt_soft_timer_check(void) continue; } + rt_list_remove(&(t->row[RT_TIMER_SKIP_LIST_LEVEL - 1])); if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) && (t->parent.flag & RT_TIMER_FLAG_ACTIVATED)) { -- Gitee