remove compiling errors by disabling the LwIP stack
This commit is contained in:
parent
1583f886b8
commit
86b874250d
1 changed files with 4 additions and 0 deletions
|
@ -243,7 +243,9 @@ static int create_task(tid_t* id, internal_entry_point_t ep, void* arg)
|
|||
|
||||
task_table[i].start_heap = 0;
|
||||
task_table[i].end_heap = 0;
|
||||
#ifdef CONFIG_LWIP
|
||||
task_table[i].lwip_err = 0;
|
||||
#endif
|
||||
task_table[i].start_tick = get_clock_tick();
|
||||
break;
|
||||
}
|
||||
|
@ -309,7 +311,9 @@ int sys_fork(void)
|
|||
task_table[i].start_tick = get_clock_tick();
|
||||
task_table[i].start_heap = 0;
|
||||
task_table[i].end_heap = 0;
|
||||
#ifdef CONFIG_LWIP
|
||||
task_table[i].lwip_err = 0;
|
||||
#endif
|
||||
|
||||
ret = arch_fork(task_table+i);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue