mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
task_restart.c:Fix style errors.
This commit is contained in:
@@ -115,7 +115,8 @@ int task_restart(pid_t pid)
|
||||
|
||||
tcb = (FAR struct task_tcb_s *)sched_gettcb(pid);
|
||||
#ifndef CONFIG_DISABLE_PTHREAD
|
||||
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD)
|
||||
if (!tcb || (tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) ==
|
||||
TCB_FLAG_TTYPE_PTHREAD)
|
||||
#else
|
||||
if (!tcb)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user