mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
sched/task_init: change the stack pointer type to (void *)
change the stack pointer type from (uint32_t *) to (void *) Change-Id: I90bb7d6a9cb0184c133578a1a2ae9a19c233ad30 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
int nxtask_init(FAR struct tcb_s *tcb, const char *name, int priority,
|
||||
FAR uint32_t *stack, uint32_t stack_size,
|
||||
FAR void *stack, uint32_t stack_size,
|
||||
main_t entry, FAR char * const argv[])
|
||||
{
|
||||
FAR struct task_tcb_s *ttcb = (FAR struct task_tcb_s *)tcb;
|
||||
|
||||
Reference in New Issue
Block a user