coexist: enable coexist when wifi&bt are enabled, disable coexist when one of wifi&bt is disabled.

This commit is contained in:
XiaXiaotian
2017-02-20 23:53:25 +08:00
parent 770c2ade05
commit bb0298bc71
5 changed files with 16 additions and 7 deletions

View File

@@ -211,12 +211,6 @@ void start_cpu0_default(void)
esp_core_dump_init();
#endif
#if CONFIG_SW_COEXIST_ENABLE
if (coex_init() == ESP_OK) {
coexist_set_enable(true);
}
#endif
xTaskCreatePinnedToCore(&main_task, "main",
ESP_TASK_MAIN_STACK, NULL,
ESP_TASK_MAIN_PRIO, NULL, 0);