mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:53:33 +08:00
Move environment variables in the task group structure
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "env_internal.h"
|
||||
#include "group_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
@@ -142,10 +142,6 @@ static int thread_create(const char *name, uint8_t ttype, int priority,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Clone the parent's task environment */
|
||||
|
||||
(void)env_dup(tcb);
|
||||
|
||||
/* Allocate the stack for the TCB */
|
||||
|
||||
#ifndef CONFIG_CUSTOM_STACK
|
||||
|
||||
Reference in New Issue
Block a user