diff options
Diffstat (limited to 'nuttx/sched/sched_getscheduler.c')
-rw-r--r-- | nuttx/sched/sched_getscheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_getscheduler.c b/nuttx/sched/sched_getscheduler.c index 0d996ca27..4d0ed950a 100644 --- a/nuttx/sched/sched_getscheduler.c +++ b/nuttx/sched/sched_getscheduler.c @@ -100,13 +100,13 @@ int sched_getscheduler(pid_t pid) { - _TCB *tcb; + struct tcb_s *tcb; /* Verify that the pid corresponds to a real task */ if (!pid) { - tcb = (_TCB*)g_readytorun.head; + tcb = (struct tcb_s*)g_readytorun.head; } else { |