summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-05 13:20:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-05 13:20:26 +0000
commit8519cad9b7e4d81618d367bea59fb82ded5a07dc (patch)
treef4b9da79dea469aa7eabef34aafc62106bf091e9 /nuttx/sched
parentd3a3e1db2f4dfa927b1304c8ea810ad131675e83 (diff)
downloadpx4-nuttx-8519cad9b7e4d81618d367bea59fb82ded5a07dc.tar.gz
px4-nuttx-8519cad9b7e4d81618d367bea59fb82ded5a07dc.tar.bz2
px4-nuttx-8519cad9b7e4d81618d367bea59fb82ded5a07dc.zip
Updated Open1788 calibration; More compilation fixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5707 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/task_restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_restart.c b/nuttx/sched/task_restart.c
index 5f3d80156..27bc4fc47 100644
--- a/nuttx/sched/task_restart.c
+++ b/nuttx/sched/task_restart.c
@@ -177,7 +177,7 @@ int task_restart(pid_t pid)
#ifdef CONFIG_PRIORITY_INHERITANCE
tcb->cmn.base_priority = tcb->init_priority;
# if CONFIG_SEM_NNESTPRIO > 0
- tcb->npend_reprio = 0;
+ tcb->cmn.npend_reprio = 0;
# endif
#endif