diff options
Diffstat (limited to 'nuttx/arch/rgmp/src/rgmp.c')
-rw-r--r-- | nuttx/arch/rgmp/src/rgmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/rgmp/src/rgmp.c b/nuttx/arch/rgmp/src/rgmp.c index 479696fb5..db5dd955e 100644 --- a/nuttx/arch/rgmp/src/rgmp.c +++ b/nuttx/arch/rgmp/src/rgmp.c @@ -101,14 +101,14 @@ void rtos_exit_interrupt(void) local_irq_disable(); nest_irq--; if (!nest_irq) { - _TCB *rtcb = current_task; - _TCB *ntcb; + struct tcb_s *rtcb = current_task; + struct tcb_s *ntcb; if (rtcb->xcp.sigdeliver) { rtcb->xcp.ctx.tf = current_regs; push_xcptcontext(&rtcb->xcp); } - ntcb = (_TCB*)g_readytorun.head; + ntcb = (struct tcb_s*)g_readytorun.head; // switch needed if (rtcb != ntcb) { rtcb->xcp.ctx.tf = current_regs; |