summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-05-15 10:50:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-05-15 10:50:29 +0000
commitacf3c47fa4676f9f8577682df3b7b77c09613cdf (patch)
treeb31054e63bd3071af0bc1e1fe917ef4dee96709f /nuttx/sched
parent2428082e5c4762e9673eec9f3f675cfb6b0a9cc6 (diff)
downloadpx4-nuttx-acf3c47fa4676f9f8577682df3b7b77c09613cdf.tar.gz
px4-nuttx-acf3c47fa4676f9f8577682df3b7b77c09613cdf.tar.bz2
px4-nuttx-acf3c47fa4676f9f8577682df3b7b77c09613cdf.zip
Fix important task shutdown bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@750 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/timer_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/timer_delete.c b/nuttx/sched/timer_delete.c
index aed19f76a..066e158a6 100644
--- a/nuttx/sched/timer_delete.c
+++ b/nuttx/sched/timer_delete.c
@@ -86,7 +86,7 @@ static void timer_free(struct posix_timer_s *timer)
#if CONFIG_PREALLOC_TIMERS > 0
if ((timer->pt_flags & PT_FLAGS_PREALLOCATED) != 0)
{
- sq_addlast((FAR sq_entry_t*)&timer, (FAR sq_queue_t*)&g_freetimers);
+ sq_addlast((FAR sq_entry_t*)timer, (FAR sq_queue_t*)&g_freetimers);
irqrestore(flags);
}
else