Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_master' into 'master'

esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth

See merge request espressif/esp-idf!6840
This commit is contained in:
Jiang Jiang Jian
2019-12-04 14:56:39 +08:00
3 changed files with 10 additions and 1 deletions

View File

@@ -453,6 +453,7 @@ void start_cpu0_default(void)
#if CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE
esp_coex_adapter_register(&g_coex_adapter_funcs);
coex_pre_init();
#endif
portBASE_TYPE res = xTaskCreatePinnedToCore(&main_task, "main",

View File

@@ -31,6 +31,14 @@ typedef enum {
typedef void (* coex_func_cb_t)(uint32_t event, int sched_cnt);
/**
* @brief Pre-Init software coexist
* extern function for internal use.
*
* @return Init ok or failed.
*/
esp_err_t coex_pre_init(void);
/**
* @brief Init software coexist
* extern function for internal use.