mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-15 16:34:05 +00:00
feat(bt): remove the deprecated functions and parametes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user