feat(bt): remove the deprecated functions and parametes

This commit is contained in:
gongyantao
2025-07-07 10:20:52 +08:00
committed by BOT
parent bf9d085bba
commit 179a730a03
66 changed files with 221 additions and 338 deletions

View File

@@ -292,9 +292,8 @@ esp_err_t esp_a2d_media_ctrl(esp_a2d_media_ctrl_t ctrl)
return ESP_ERR_INVALID_STATE;
}
if (ctrl == ESP_A2D_MEDIA_CTRL_STOP) {
LOG_WARN("ESP_A2D_MEDIA_CTRL_STOP is deprecated, using ESP_A2D_MEDIA_CTRL_SUSPEND instead.\n");
ctrl = ESP_A2D_MEDIA_CTRL_SUSPEND;
if (ctrl > ESP_A2D_MEDIA_CTRL_SUSPEND) {
return ESP_ERR_INVALID_ARG;
}
bt_status_t stat;