diff options
Diffstat (limited to 'nuttx/arch/hc/src/common/up_reprioritizertr.c')
-rw-r--r-- | nuttx/arch/hc/src/common/up_reprioritizertr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/hc/src/common/up_reprioritizertr.c b/nuttx/arch/hc/src/common/up_reprioritizertr.c index 31c76a9f5..92e18ff47 100644 --- a/nuttx/arch/hc/src/common/up_reprioritizertr.c +++ b/nuttx/arch/hc/src/common/up_reprioritizertr.c @@ -84,7 +84,7 @@ * ****************************************************************************/ -void up_reprioritize_rtr(_TCB *tcb, uint8_t priority) +void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority) { /* Verify that the caller is sane */ @@ -102,7 +102,7 @@ void up_reprioritize_rtr(_TCB *tcb, uint8_t priority) } else { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; bool switch_needed; slldbg("TCB=%p PRI=%d\n", tcb, priority); @@ -156,7 +156,7 @@ void up_reprioritize_rtr(_TCB *tcb, uint8_t priority) * 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 */ @@ -175,7 +175,7 @@ void up_reprioritize_rtr(_TCB *tcb, uint8_t priority) * 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 */ |