diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-15 00:45:14 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-15 00:45:14 +0000 |
commit | 519ab1856fb8c69ff2bb15e512bdb8539c90129c (patch) | |
tree | 4692ee907021a755c1a5f3db5fd13e0d9712a2f7 /nuttx/sched | |
parent | 383e7a0c97e0e559da8eb2c2a128153ad068d67a (diff) | |
download | px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.tar.gz px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.tar.bz2 px4-firmware-519ab1856fb8c69ff2bb15e512bdb8539c90129c.zip |
Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4738 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/on_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/on_exit.c b/nuttx/sched/on_exit.c index 965a3e805..f91eb2e11 100644 --- a/nuttx/sched/on_exit.c +++ b/nuttx/sched/on_exit.c @@ -114,7 +114,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) if (func && !tcb->onexitfunc) { tcb->onexitfunc = func; - tdb->onexitarg = arg; + tcb->onexitarg = arg; ret = OK; } |