(void)OSTaskCreateExt((void*)OS_TaskIdle,
(void *)0, /* No arguments passed to OS_TaskIdle() */
(void *)&OSTaskIdleStk[OS_TASK_IDLE_STK_SIZE - 1], /* Set Top-Of-Stack */
OS_IDLE_PRIO, /* Lowest priority level */
OS_TASK_IDLE_ID,
&OSTaskIdleStk[0], /* Set Bottom-Of-Stack */
OS_TASK_IDLE_STK_SIZE,
(void *)0, /* No TCB extension */
OS_TASK_OPT_STK_CHK | OS_TASK_OPT_STK_CLR);
UCOS这个函数报错<argument 1 to 'OSTaskCreateExt'> cast between function pointer and non-function object
出错停在最后一行,有高手知道吗?谢谢 |