mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_https_ota: change logs
1. add paired log for line393; 2. change log level to debug Closes https://github.com/espressif/esp-idf/pull/7375 Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
This commit is contained in:
parent
c480afa70a
commit
69eb190310
@ -390,7 +390,7 @@ esp_err_t esp_https_ota_perform(esp_https_ota_handle_t https_ota_handle)
|
||||
} else if (!is_recv_complete) {
|
||||
return ESP_ERR_HTTPS_OTA_IN_PROGRESS;
|
||||
}
|
||||
ESP_LOGI(TAG, "Connection closed");
|
||||
ESP_LOGD(TAG, "Connection closed");
|
||||
} else if (data_read > 0) {
|
||||
return _ota_write(handle, (const void *)handle->ota_upgrade_buf, data_read);
|
||||
} else {
|
||||
@ -425,6 +425,7 @@ esp_err_t esp_https_ota_perform(esp_https_ota_handle_t https_ota_handle)
|
||||
ESP_LOGE(TAG, "Failed to establish HTTP connection");
|
||||
return ESP_FAIL;
|
||||
}
|
||||
ESP_LOGD(TAG, "Connection start");
|
||||
return ESP_ERR_HTTPS_OTA_IN_PROGRESS;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user