fix(coex): fix some s31 coex iso issues

This commit is contained in:
muhaidong
2026-05-14 14:04:35 +08:00
parent 652f605d8b
commit d11192503b
2 changed files with 3 additions and 11 deletions
@@ -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); esp_err_t esp_coex_adapter_register(coex_adapter_funcs_t *funcs);
#if CONFIG_COEX_ISO_INT_SCHEME #if SOC_BLE_ISO_SUPPORTED
/**
* @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);
/** /**
* @brief Register coexistence iso end wifi callback function. * @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 * @return : ESP_OK - success, other - failed
*/ */
esp_err_t esp_coex_configure_iso_end_wifi_cb(bool is_reg, void *funcs); 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 #if CONFIG_EXTERNAL_COEX_ENABLE
/** /**
+1 -1
View File
@@ -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)) 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); return esp_coex_configure_iso_end_wifi_cb(is_register, cb);
#else #else
return 0; return 0;