mirror of
https://github.com/apache/nuttx.git
synced 2026-09-06 17:06:31 +00:00
Update up_usestack.c
This commit is contained in:
parent
963ee6f42e
commit
737dcdbe93
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ int up_use_stack(struct tcb_s *tcb, void *stack, size_t stack_size)
|
|||
|
||||
/* Save the adjusted stack values in the struct tcb_s */
|
||||
|
||||
tcb->adj_stack_size = top_of_stack;
|
||||
tcb->adj_stack_ptr = top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
return OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue