Merge branch 'bugfix/return_code_of_ota_finish_api_v4.4' into 'release/v4.4'

fix(esp_https_ota): fix return code of esp_https_ota_finish API (v4.4)

See merge request espressif/esp-idf!27337
pull/12720/head
Mahavir Jain 2023-11-23 16:31:42 +08:00
commit e1e191638a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -519,7 +519,7 @@ esp_err_t esp_https_ota_finish(esp_https_ota_handle_t https_ota_handle)
}
if ((err == ESP_OK) && (handle->state == ESP_HTTPS_OTA_SUCCESS)) {
esp_err_t err = esp_ota_set_boot_partition(handle->update_partition);
err = esp_ota_set_boot_partition(handle->update_partition);
if (err != ESP_OK) {
ESP_LOGE(TAG, "esp_ota_set_boot_partition failed! err=0x%x", err);
}