diff --git a/components/esp32/cpu_start.c b/components/esp32/cpu_start.c index 5ecb8546c0..c4b9a7e247 100644 --- a/components/esp32/cpu_start.c +++ b/components/esp32/cpu_start.c @@ -196,7 +196,7 @@ void start_cpu0_default(void) #endif #if CONFIG_SW_COEXIST_ENABLE - if (coexist_init() == ESP_OK) { + if (coex_init() == ESP_OK) { coexist_set_enable(true); } #endif diff --git a/components/esp32/include/esp_coexist.h b/components/esp32/include/esp_coexist.h index 09d38aced6..f58d2ef949 100644 --- a/components/esp32/include/esp_coexist.h +++ b/components/esp32/include/esp_coexist.h @@ -23,7 +23,7 @@ extern "C" { * * @return Init ok or failed. */ -esp_err_t coexist_init(void); +esp_err_t coex_init(void); /** * @brief Get software coexist enable or not