-->
Page 2 of 2

Re: RTOS SDK vtaskstartscheduler usage

PostPosted: Thu Sep 19, 2019 5:46 am
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?