fix(esp_https_ota): fix incorrectly reference of API esp_https_ota_get_img_desc()

esp_https_ota_get_img_desc() is incorrectly referred to as esp_https_ota_read_img_desc()
in some error messages.So, this MR updates related references

Closes https://github.com/espressif/esp-idf/issues/13065
This commit is contained in:
nilesh.kale
2024-02-05 12:34:14 +05:30
parent 37f0447961
commit 3da0aa2d82
3 changed files with 6 additions and 6 deletions
@@ -168,7 +168,7 @@ void advanced_ota_example_task(void *pvParameter)
esp_app_desc_t app_desc;
err = esp_https_ota_get_img_desc(https_ota_handle, &app_desc);
if (err != ESP_OK) {
ESP_LOGE(TAG, "esp_https_ota_read_img_desc failed");
ESP_LOGE(TAG, "esp_https_ota_get_img_desc failed");
goto ota_end;
}
err = validate_image_header(&app_desc);