print Firmware Upgrade URL to help user debug

This commit is contained in:
Eric Fontaine
2021-12-08 12:09:42 -05:00
committed by GitHub
parent 4143a3f572
commit 53b0263342

View File

@@ -72,7 +72,7 @@ esp_err_t _http_event_handler(esp_http_client_event_t *evt)
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
esp_netif_t *netif = get_example_netif_from_desc(bind_interface_name);
if (netif == NULL) {