kernel: timer: fix compiling bug in d59aa279c3
This commit is contained in:
parent
a0ffbc1fb8
commit
6d9e793388
|
@ -577,7 +577,7 @@ void rt_soft_timer_check(void)
|
||||||
n = n->next;
|
n = n->next;
|
||||||
|
|
||||||
/* remove timer from timer list firstly */
|
/* remove timer from timer list firstly */
|
||||||
_rt_timer_remove(timer);
|
_rt_timer_remove(t);
|
||||||
|
|
||||||
/* call timeout function */
|
/* call timeout function */
|
||||||
t->timeout_func(t->parameter);
|
t->timeout_func(t->parameter);
|
||||||
|
|
Loading…
Reference in New Issue