This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C166: task creation

I want to create a task and pass a parameter to it. So I used function "os_tsk_create_ex" and define the task function as: void task3 (int *argv) __task 12 __priority 1{...}

When compiling this file, an error occurred: error: __interrupt/__using/__task function cannot receive/return value(s)

What's the reason of it?
Thanks.

0