diff options
Diffstat (limited to 'nuttx/sched/sched_lock.c')
-rw-r--r-- | nuttx/sched/sched_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_lock.c b/nuttx/sched/sched_lock.c index 61a8a3bc8..90a39d27d 100644 --- a/nuttx/sched/sched_lock.c +++ b/nuttx/sched/sched_lock.c @@ -93,7 +93,7 @@ int sched_lock(void) { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; /* Check for some special cases: (1) rtcb may be NULL only during * early boot-up phases, and (2) sched_lock() should have no |