Update up_usestack.c
This commit is contained in:
parent
963ee6f42e
commit
737dcdbe93
|
@ -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 */
|
/* 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;
|
tcb->adj_stack_size = size_of_stack;
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
|
|
Loading…
Reference in New Issue