fix wrong data type and wrong using of create_kernel_task
This commit is contained in:
parent
40230ade50
commit
2e1cfd7965
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
|
|||
tid_t tmp;
|
||||
|
||||
kprintf("Create LWIP task %s\n", name);
|
||||
create_kernel_task(&tmp,thread,arg);
|
||||
create_kernel_task(&tmp, thread, arg);
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ typedef struct
|
|||
int valid;
|
||||
} sys_mbox_t;
|
||||
|
||||
typedef tid_t* sys_thread_t;
|
||||
typedef tid_t sys_thread_t;
|
||||
|
||||
#if SYS_LIGHTWEIGHT_PROT
|
||||
#if MAX_CORES > 1
|
||||
|
|
Loading…
Add table
Reference in a new issue