You can chat about native SDK questions and issues here.

User avatar
By pikiliya
LPG wrote:It is in the file "ESP8266_RTOS_SDK⁩ ▸ ⁨components⁩ ▸ ⁨esp8266⁩ ▸ ⁨source⁩ ▸ ⁨startup.c":

In this startup file, a single task is created [url]audacity[/url]and then vTaskStartScheduler() is called. From within this task, your "app_main()" is called. So "app_main()" is already [url]temp mail[/url]running from a task context, which is why [url]origin[/url]you must not call vTaskStartScheduler() again.

Can somebody explain the strange behavior?