Page 1 of 1

how to add other xTaskCreate when fisrt call smartconfig

Posted: Sun Sep 03, 2017 1:39 pm
by aih5165
The code:
void app_main()
{

smart_app(); // 3,4096


//oled_app(); // 11,2048
//timer_app(); // 5,2048
//tcp_app(); // 4,4096
//led_app(); // 9,1024
//uartx_app(); // 10.1024
}

Note:
every *_app() is a "xTaskCreate ()",

Problem:
I found after smart_app(), none xTaskCreate could run,
is ther any point I should care?

Re: how to add other xTaskCreate when fisrt call smartconfig

Posted: Mon Sep 04, 2017 3:08 am
by ESP_igrr
Priority of Smartconfig task is 3, while that of the main task is 1. So if smartconfig task is busy, it will not let main task to continue running.

Re: how to add other xTaskCreate when fisrt call smartconfig

Posted: Tue Sep 05, 2017 1:40 am
by aih5165
yes that's right 3q very much ,it realy help me