From 737dcdbe93042638bf9268fd448f719c3d7a223d Mon Sep 17 00:00:00 2001 From: anjana-tel <61960523+anjana-tel@users.noreply.github.com> Date: Fri, 13 Mar 2020 11:06:51 +0530 Subject: [PATCH] Update up_usestack.c --- arch/renesas/src/common/up_usestack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/renesas/src/common/up_usestack.c b/arch/renesas/src/common/up_usestack.c index 9fce7d5965..c089e54733 100644 --- a/arch/renesas/src/common/up_usestack.c +++ b/arch/renesas/src/common/up_usestack.c @@ -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;