mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 07:34:32 +02:00
print Firmware Upgrade URL to help user debug
This commit is contained in:
@@ -72,7 +72,7 @@ esp_err_t _http_event_handler(esp_http_client_event_t *evt)
|
|||||||
|
|
||||||
void simple_ota_example_task(void *pvParameter)
|
void simple_ota_example_task(void *pvParameter)
|
||||||
{
|
{
|
||||||
ESP_LOGI(TAG, "Starting OTA example");
|
ESP_LOGI(TAG, "Starting OTA example. Attempting to download update from %s", CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL);
|
||||||
#ifdef CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF
|
#ifdef CONFIG_EXAMPLE_FIRMWARE_UPGRADE_BIND_IF
|
||||||
esp_netif_t *netif = get_example_netif_from_desc(bind_interface_name);
|
esp_netif_t *netif = get_example_netif_from_desc(bind_interface_name);
|
||||||
if (netif == NULL) {
|
if (netif == NULL) {
|
||||||
|
Reference in New Issue
Block a user