diff options
Diffstat (limited to 'nuttx/arch/hc/src/common/up_blocktask.c')
-rw-r--r-- | nuttx/arch/hc/src/common/up_blocktask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/hc/src/common/up_blocktask.c b/nuttx/arch/hc/src/common/up_blocktask.c index 4e5bf1826..da7131c4c 100644 --- a/nuttx/arch/hc/src/common/up_blocktask.c +++ b/nuttx/arch/hc/src/common/up_blocktask.c @@ -84,7 +84,7 @@ * ****************************************************************************/ -void up_block_task(_TCB *tcb, tstate_t task_state) +void up_block_task(struct tcb_s *tcb, tstate_t task_state) { /* Verify that the context switch can be performed */ @@ -95,7 +95,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state) } else { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; bool switch_needed; /* Remove the tcb task from the ready-to-run list. If we @@ -138,7 +138,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state) * of the g_readytorun task list. */ - rtcb = (_TCB*)g_readytorun.head; + rtcb = (struct tcb_s*)g_readytorun.head; /* Then switch contexts */ @@ -156,7 +156,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state) * of the g_readytorun task list. */ - rtcb = (_TCB*)g_readytorun.head; + rtcb = (struct tcb_s*)g_readytorun.head; /* Then switch contexts */ |