Help with _task_ready

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Help with _task_ready

跳至解决方案
1,271 次查看
wendersonolivei
Contributor IV

Hi All,

I've tried to unblock a task by calling a _task_ready() function. But it's not working.

I think which my problem is on _task_ready(*) parameter (what I put at *). So, let me show you my task_template:

Capturar.JPG.jpg

I've tried to call as _task_ready((TASK_FPTR)Task1_task); but it doesn't work.

So, how should I call _task_ready function to unblock the Task1, that has blocked itself?

Thanks,

标签 (1)
0 项奖励
回复
1 解答
1,044 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi,

Attached you can find an example where I use _task_ready succesfully.

Hope it helps.

Carlos

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,045 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi,

Attached you can find an example where I use _task_ready succesfully.

Hope it helps.

Carlos

0 项奖励
回复
1,044 次查看
wendersonolivei
Contributor IV

Thank you, Carlos!

I've found the solution at your code.

0 项奖励
回复