You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/13 07:42:41 UTC
[incubator-nuttx] branch master updated: Update up_usestack.c
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 737dcdb Update up_usestack.c
737dcdb is described below
commit 737dcdbe93042638bf9268fd448f719c3d7a223d
Author: anjana-tel <61...@users.noreply.github.com>
AuthorDate: Fri Mar 13 11:06:51 2020 +0530
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 9fce7d5..c089e54 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;