Merge pull request #180 from grissiom/hot-fix

kernel: timer: fix compiling bug in d59aa279c3
This commit is contained in:
Bernard Xiong 2013-10-19 06:20:05 -07:00
commit 23e68a8bcc
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ void rt_soft_timer_check(void)
n = n->next;
/* remove timer from timer list firstly */
_rt_timer_remove(timer);
_rt_timer_remove(t);
/* call timeout function */
t->timeout_func(t->parameter);