esp-tls: mark esp_tls_conn_delete API as deprecated

It is recommended to use `esp_tls_conn_destroy` API instead
This commit is contained in:
Mahavir Jain
2022-01-04 15:40:07 +05:30
parent b947373da2
commit c26500cd5a
7 changed files with 15 additions and 31 deletions

View File

@@ -72,7 +72,7 @@ static void https_get_task(void *pvParameters)
ESP_LOGE(TAG, "Could not connect to %s", web_urls[i]);
}
esp_tls_conn_delete(tls);
esp_tls_conn_destroy(tls);
vTaskDelay(1000 / portTICK_PERIOD_MS);
}