mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-21 23:52:28 +08:00
feature/esp_https_ota: Changes to make esp_https_ota compatible with ESP8266.
Changes: Changed component.mk to enable only mbedtls based compilation. Removed esp_err_to_name occurence. Updated README.md. Shifted OTA examples to examples/system/ota. Changed the sdkconfig.defaults for the example compilation.
This commit is contained in:
@@ -54,7 +54,7 @@ esp_err_t esp_https_ota(const esp_http_client_config_t *config)
|
||||
esp_err_t err = esp_http_client_open(client, 0);
|
||||
if (err != ESP_OK) {
|
||||
esp_http_client_cleanup(client);
|
||||
ESP_LOGE(TAG, "Failed to open HTTP connection: %s", esp_err_to_name(err));
|
||||
ESP_LOGE(TAG, "Failed to open HTTP connection: %d", err);
|
||||
return err;
|
||||
}
|
||||
esp_http_client_fetch_headers(client);
|
||||
|
Reference in New Issue
Block a user