提交 43544d89 编写于 作者: M Me No Dev 提交者: GitHub

Run WiFi thread on the Arduino core

Fixes: https://github.com/espressif/arduino-esp32/issues/749

Works even when single core mode is selected
上级 7eff707b
......@@ -85,7 +85,7 @@ static void _start_network_event_task(){
}
}
if(!_network_event_task_handle){
xTaskCreatePinnedToCore(_network_event_task, "network_event", 4096, NULL, 2, &_network_event_task_handle, 1);
xTaskCreatePinnedToCore(_network_event_task, "network_event", 4096, NULL, 2, &_network_event_task_handle, ARDUINO_RUNNING_CORE);
if(!_network_event_task_handle){
log_e("Network Event Task Start Failed!");
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册