Skip to content

Commit

Permalink
Update up_usestack.c
Browse files Browse the repository at this point in the history
  • Loading branch information
anjana-tel authored and xiaoxiang781216 committed Mar 13, 2020
1 parent 963ee6f commit 737dcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/renesas/src/common/up_usestack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 737dcdb

Please sign in to comment.