diff options
Diffstat (limited to 'nuttx/arch/avr/src/avr32/up_releasepending.c')
-rw-r--r-- | nuttx/arch/avr/src/avr32/up_releasepending.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/avr/src/avr32/up_releasepending.c b/nuttx/arch/avr/src/avr32/up_releasepending.c index 3cf29e623..00956e442 100644 --- a/nuttx/arch/avr/src/avr32/up_releasepending.c +++ b/nuttx/arch/avr/src/avr32/up_releasepending.c @@ -75,7 +75,7 @@ void up_release_pending(void) { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; slldbg("From TCB=%p\n", rtcb); @@ -101,7 +101,7 @@ void up_release_pending(void) * of the g_readytorun task list. */ - rtcb = (_TCB*)g_readytorun.head; + rtcb = (struct tcb_s*)g_readytorun.head; slldbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */ @@ -117,7 +117,7 @@ void up_release_pending(void) * ready to run list. */ - _TCB *nexttcb = (_TCB*)g_readytorun.head; + struct tcb_s *nexttcb = (struct tcb_s*)g_readytorun.head; up_switchcontext(rtcb->xcp.regs, nexttcb->xcp.regs); /* up_switchcontext forces a context switch to the task at the |