mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user