diff options
Diffstat (limited to 'nuttx/arch/z80/src/common/up_usestack.c')
-rw-r--r-- | nuttx/arch/z80/src/common/up_usestack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/common/up_usestack.c b/nuttx/arch/z80/src/common/up_usestack.c index 7d348a9c6..0aaa5f906 100644 --- a/nuttx/arch/z80/src/common/up_usestack.c +++ b/nuttx/arch/z80/src/common/up_usestack.c @@ -81,7 +81,7 @@ * ************************************************************/ -int up_use_stack(_TCB *tcb, void *stack, size_t stack_size) +int up_use_stack(struct tcb_s *tcb, void *stack, size_t stack_size) { size_t top_of_stack; size_t size_of_stack; @@ -112,7 +112,7 @@ int up_use_stack(_TCB *tcb, void *stack, size_t stack_size) top_of_stack &= ~3; size_of_stack = top_of_stack - (uint32_t)tcb->stack_alloc_ptr + 4; - /* Save the adjusted stack values in the _TCB */ + /* Save the adjusted stack values in the struct tcb_s */ tcb->adj_stack_size = top_of_stack; tcb->adj_stack_size = size_of_stack; |