Browse Source

kernel: timer: fix compiling bug in d59aa279c37b7

Grissiom 11 years ago
parent
commit
6d9e793388
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/timer.c

+ 1 - 1
src/timer.c

@@ -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);