eZ80: fix name of SP register in stack frame

This commit is contained in:
Byron Ellacott
2021-02-17 17:38:33 +10:00
committed by Xiang Xiao
parent e50b5bef8b
commit 256c5c266a
+1 -1
View File
@@ -105,7 +105,7 @@ FAR void *up_stack_frame(FAR struct tcb_s *tcb, size_t frame_size)
/* Reset the initial stack pointer */
tcb->xcp.regs[REG_RSP] = (chipreg_t)tcb->adj_stack_ptr;
tcb->xcp.regs[XCPT_SP] = (chipreg_t)tcb->adj_stack_ptr;
/* And return a pointer to the allocated memory */