Update up_usestack.c

This commit is contained in:
anjana-tel 2020-03-13 11:06:51 +05:30 committed by Xiang Xiao
parent 963ee6f42e
commit 737dcdbe93
1 changed files with 1 additions and 1 deletions

View File

@ -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;