This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200多任务创建1个任务能运行1个任务不运行



lRetVal = osi_TaskCreate(WlanAP_Mode, (const signed char*)"AP mode", \
OSI_STACK_SIZE, NULL, 10, NULL );
if(lRetVal < 0)
{
ERR_PRINT(lRetVal);
LOOP_FOREVER();
}

lRetVal = osi_TaskCreate(Collect_data,(const signed char*)"collect data", \
OSI_STACK_SIZE, NULL,11, NULL);
if(lRetVal < 0)
{
ERR_PRINT(lRetVal);
LOOP_FOREVER();
}

在main函数中创建2个任务 只有Collect_data函数运行成功,WlanAP_Mode函数跑不进去