diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 21:22:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 21:22:06 +0000 |
commit | 8ca829501528bb3895be055cece3af6a99dac0eb (patch) | |
tree | e64878b53bc93757bcf4a654d1bc919031dd6702 /nuttx/sched | |
parent | b7527ff1800f938dcadc65ece0abbbe4a69821eb (diff) | |
download | px4-nuttx-8ca829501528bb3895be055cece3af6a99dac0eb.tar.gz px4-nuttx-8ca829501528bb3895be055cece3af6a99dac0eb.tar.bz2 px4-nuttx-8ca829501528bb3895be055cece3af6a99dac0eb.zip |
I2C fixes from Uros; USB serial fix from Sheref; + A little more kernel mode stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3479 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/os_bringup.c | 1 | ||||
-rw-r--r-- | nuttx/sched/os_internal.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/os_bringup.c b/nuttx/sched/os_bringup.c index 9f05a3c70..7cdd06dcb 100644 --- a/nuttx/sched/os_bringup.c +++ b/nuttx/sched/os_bringup.c @@ -48,6 +48,7 @@ #include <nuttx/init.h> +#include "os_internal.h" #ifdef CONFIG_PAGING # include "pg_internal.h" #endif diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h index ceeb70df1..b25ee1c5e 100644 --- a/nuttx/sched/os_internal.h +++ b/nuttx/sched/os_internal.h @@ -113,9 +113,9 @@ enum os_crash_codes_e */ #ifndef CONFIG_CUSTOM_STACK -# define KERNEL_THREAD(n,p,s,e,a) task_create(n,p,s,e,a) +# define KERNEL_THREAD(n,p,s,e,a) kernel_thread(n,p,s,e,a) #else -# define KERNEL_THREAD(n,p,s,e,a) task_create(n,p,e,a) +# define KERNEL_THREAD(n,p,s,e,a) kernel_thread(n,p,e,a) #endif /* A more efficient ways to access the errno */ |