diff options
| author | Bernard Xiong <[email protected]> | 2020-12-18 08:16:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-18 08:16:05 +0800 |
| commit | 9971067f4934e7072cf446b5fcd19f4fa10be357 (patch) | |
| tree | c8e2b45f386e6941d550d52b30424aff715e4eec | |
| parent | 932bbc29c63b7375bc46837b99ae6fda117a9ba0 (diff) | |
| parent | 014105025a5c73a2aa58cd703ad157d29d5c6aff (diff) | |
Merge pull request #4112 from enkiller/1203-0940
[timer] Fix the bug that the linked list is still mounted when the si…
| -rw-r--r-- | src/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.c b/src/timer.c index 4d021ab367..d882711151 100644 --- a/src/timer.c +++ b/src/timer.c @@ -575,7 +575,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)) { @@ -663,7 +663,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)) { |
