sched: Change tcb_s to task_tcb_s for nxtask_[un]init

since these functions can just work with task not thread

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-06-29 15:52:16 +08:00
committed by patacongo
parent 1306cbc16e
commit 14ecb8723a
4 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ int exec_module(FAR const struct binary_s *binp)
/* Initialize the task */
ret = nxtask_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority,
ret = nxtask_init(tcb, binp->filename, binp->priority,
NULL, binp->stacksize, binp->entrypt, binp->argv);
if (ret < 0)
{