From 8ca829501528bb3895be055cece3af6a99dac0eb Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 7 Apr 2011 21:22:06 +0000 Subject: 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 --- nuttx/sched/os_bringup.c | 1 + nuttx/sched/os_internal.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'nuttx/sched') 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 +#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 */ -- cgit v1.2.3