You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2022. It is now read-only.
Hi:
Now, I want to create a task to open the wifi. FreeRTOS task can't have the "return", I created the task as below:
void wifi( void * parameter )
{
wifi_init_softap(); // 启动wifi //!! http
// static httpd_handle_t server = NULL; // http
// wifi_init_router(&server);//初始化wifi
vTaskDelay(100 / portTICK_PERIOD_MS); // 任务等待
http_server_init(); // 调用http服务 http
}
But the "http_server_init()" has "return" value, so task failed. What should I do?
Thanks !