diff options
Diffstat (limited to 'nuttx/arch/8051/src/up_blocktask.c')
-rw-r--r-- | nuttx/arch/8051/src/up_blocktask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/8051/src/up_blocktask.c b/nuttx/arch/8051/src/up_blocktask.c index 14dc371dd..554111ae0 100644 --- a/nuttx/arch/8051/src/up_blocktask.c +++ b/nuttx/arch/8051/src/up_blocktask.c @@ -83,7 +83,7 @@ * ************************************************************************/ -void up_block_task(FAR _TCB *tcb, tstate_t task_state) +void up_block_task(FAR struct tcb_s *tcb, tstate_t task_state) { /* Verify that the context switch can be performed */ @@ -94,7 +94,7 @@ void up_block_task(FAR _TCB *tcb, tstate_t task_state) } else { - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head; bool switch_needed; dbg("Blocking TCB=%p\n", tcb); @@ -139,7 +139,7 @@ void up_block_task(FAR _TCB *tcb, tstate_t task_state) * of the g_readytorun task list. */ - rtcb = (FAR _TCB*)g_readytorun.head; + rtcb = (FAR struct tcb_s*)g_readytorun.head; dbg("New Active Task TCB=%p\n", rtcb); /* Then setup so that the context will be performed on exit @@ -160,7 +160,7 @@ void up_block_task(FAR _TCB *tcb, tstate_t task_state) * of the g_readytorun task list. */ - rtcb = (FAR _TCB*)g_readytorun.head; + rtcb = (FAR struct tcb_s*)g_readytorun.head; dbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */ |