summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-19 21:07:14 +0800
committerGrissiom <[email protected]>2013-10-19 21:07:14 +0800
commit6d9e793388cf078647fe7617266ad6efae5edb18 (patch)
tree6c5f631af618c96f830b00ae41c302918321e455 /src
parenta0ffbc1fb8ffc15b22649410b3093465901721af (diff)
kernel: timer: fix compiling bug in d59aa279c37b7
Diffstat (limited to 'src')
-rw-r--r--src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c
index 3d14792e66..ac8a148d8d 100644
--- a/src/timer.c
+++ b/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);