diff options
Diffstat (limited to 'nuttx/sched/sched_lockcount.c')
-rw-r--r-- | nuttx/sched/sched_lockcount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_lockcount.c b/nuttx/sched/sched_lockcount.c index 4dc7a8201..d1eccab40 100644 --- a/nuttx/sched/sched_lockcount.c +++ b/nuttx/sched/sched_lockcount.c @@ -91,7 +91,7 @@ int sched_lockcount(void) { - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; return (int)rtcb->lockcount; } |