diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-14 18:58:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-14 18:58:21 +0000 |
commit | 78cbcfd2a16c0cf3763173ce0a14d656bede0135 (patch) | |
tree | 5fd6d76721ba77adb12c7fc265befb5cf264329f /nuttx/sched/getpid.c | |
parent | 9daf318dc8fbefa6d41c739fa53baa155b31887f (diff) | |
download | px4-nuttx-78cbcfd2a16c0cf3763173ce0a14d656bede0135.tar.gz px4-nuttx-78cbcfd2a16c0cf3763173ce0a14d656bede0135.tar.bz2 px4-nuttx-78cbcfd2a16c0cf3763173ce0a14d656bede0135.zip |
Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphoresnuttx-1.1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/getpid.c')
-rw-r--r-- | nuttx/sched/getpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/getpid.c b/nuttx/sched/getpid.c index a68ce896a..3bd9495b6 100644 --- a/nuttx/sched/getpid.c +++ b/nuttx/sched/getpid.c @@ -80,5 +80,5 @@ pid_t getpid(void) * ready-to-run task list */ - return ((_TCB*)g_readytorun.head)->pid; + return ((FAR _TCB*)g_readytorun.head)->pid; } |