Help with _task_ready

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with _task_ready

Jump to solution
1,272 Views
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,

Labels (1)
0 Kudos
Reply
1 Solution
1,045 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi,

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

Hope it helps.

Carlos

View solution in original post

0 Kudos
Reply
2 Replies
1,046 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi,

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

Hope it helps.

Carlos

0 Kudos
Reply
1,045 Views
wendersonolivei
Contributor IV

Thank you, Carlos!

I've found the solution at your code.

0 Kudos
Reply