Merge branch 'master' into mailbox_integration
This commit is contained in:
commit
774ae9df37
2 changed files with 0 additions and 6 deletions
|
@ -85,10 +85,8 @@ typedef struct task {
|
|||
uint32_t start_heap;
|
||||
/// End address of the heap
|
||||
uint32_t end_heap;
|
||||
#ifdef CONFIG_LWIP
|
||||
/// LwIP error code
|
||||
int lwip_err;
|
||||
#endif
|
||||
/// Mail inbox
|
||||
mailbox_wait_msg_t inbox;
|
||||
/// Mail outbox array
|
||||
|
|
|
@ -243,9 +243,7 @@ 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;
|
||||
}
|
||||
|
@ -311,9 +309,7 @@ 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