summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_yield.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched_yield.c')
-rw-r--r--nuttx/sched/sched_yield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_yield.c b/nuttx/sched/sched_yield.c
index b2e6493d0..4972668c7 100644
--- a/nuttx/sched/sched_yield.c
+++ b/nuttx/sched/sched_yield.c
@@ -90,7 +90,7 @@
int sched_yield(void)
{
- FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head;
+ FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head;
/* This equivalent to just resetting the task priority to its current value
* since this will cause the task to be rescheduled behind any other tasks