From 62905eedad22df08cd499c6080980fc1d63b74ef Mon Sep 17 00:00:00 2001 From: yuanjm Date: Mon, 27 Jul 2020 20:04:08 +0800 Subject: [PATCH] feat(startup): Modify app_main task priority --- components/esp8266/source/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp8266/source/startup.c b/components/esp8266/source/startup.c index c83f73e0..fb573d8a 100644 --- a/components/esp8266/source/startup.c +++ b/components/esp8266/source/startup.c @@ -177,7 +177,7 @@ void call_start_cpu(size_t start_addr) esp_newlib_init(); #endif - assert(xTaskCreate(user_init_entry, "uiT", ESP_TASK_MAIN_STACK, NULL, configMAX_PRIORITIES, NULL) == pdPASS); + assert(xTaskCreate(user_init_entry, "uiT", ESP_TASK_MAIN_STACK, NULL, ESP_TASK_MAIN_PRIO, NULL) == pdPASS); vTaskStartScheduler(); }