From 014105025a5c73a2aa58cd703ad157d29d5c6aff Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Thu, 3 Dec 2020 09:43:09 +0800 Subject: [PATCH] [timer] Fix the bug that the linked list is still mounted when the single timer is not modified --- src/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timer.c b/src/timer.c index 4b9003794c..fc8053e90e 100644 --- a/src/timer.c +++ b/src/timer.c @@ -579,7 +579,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)) { @@ -667,7 +667,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)) { -- GitLab