diff --git a/components/esp_coex/include/private/esp_coexist_internal.h b/components/esp_coex/include/private/esp_coexist_internal.h index eca1cb5fec3..cd34bde98b7 100644 --- a/components/esp_coex/include/private/esp_coexist_internal.h +++ b/components/esp_coex/include/private/esp_coexist_internal.h @@ -325,15 +325,7 @@ int coex_schm_register_callback(coex_schm_callback_type_t type, void *callback); */ esp_err_t esp_coex_adapter_register(coex_adapter_funcs_t *funcs); -#if CONFIG_COEX_ISO_INT_SCHEME -/** - * @brief Register coexistence dynamic log functions. - * - * @param funcs : coexistence dynamic log functions - * @return : ESP_OK - success, other - failed - */ -esp_err_t esp_coex_dynamic_log_register(void *funcs); - +#if SOC_BLE_ISO_SUPPORTED /** * @brief Register coexistence iso end wifi callback function. * @@ -342,7 +334,7 @@ esp_err_t esp_coex_dynamic_log_register(void *funcs); * @return : ESP_OK - success, other - failed */ esp_err_t esp_coex_configure_iso_end_wifi_cb(bool is_reg, void *funcs); -#endif /* CONFIG_COEX_ISO_INT_SCHEME */ +#endif /* SOC_BLE_ISO_SUPPORTED */ #if CONFIG_EXTERNAL_COEX_ENABLE /** diff --git a/components/esp_wifi/esp32s31/esp_adapter.c b/components/esp_wifi/esp32s31/esp_adapter.c index 2326bb11a81..6e732d27f87 100644 --- a/components/esp_wifi/esp32s31/esp_adapter.c +++ b/components/esp_wifi/esp32s31/esp_adapter.c @@ -621,7 +621,7 @@ static void * coex_schm_get_phase_by_idx_wrapper(int phase_idx) static int coex_configure_preemption_end_cb_wrapper(bool is_register, int(*cb)(uint32_t)) { -#if CONFIG_SW_COEXIST_ENABLE && CONFIG_COEX_ISO_INT_SCHEME +#if CONFIG_SW_COEXIST_ENABLE && SOC_BLE_ISO_SUPPORTED return esp_coex_configure_iso_end_wifi_cb(is_register, cb); #else return 0;