Hi Roosbeh Almasi
Please refer to the MQX_template_list, the param next to last is the parameter passed to tasks that MQX creates from the template.
const TASK_TEMPLATE_STRUCT MQX_template_list[] =
{
/* Task Index, Function, Stack, Priority, Name, Attributes, Param, Time Slice */
{ HELLO_TASK, hello_task, 1500, 8, "hello", MQX_AUTO_START_TASK, 0, 0 },
{ 0 }
};
Regards
Daniel