We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45c1867 + b433731 commit 39f34a6Copy full SHA for 39f34a6
examples/ethernet/basic/main/ethernet_example_main.c
@@ -106,7 +106,7 @@ void app_main(void)
106
esp_netif_config.if_desc = if_desc_str;
107
esp_netif_config.route_prio -= i*5;
108
eth_netifs[i] = esp_netif_new(&cfg_spi);
109
- eth_netif_glues[i] = esp_eth_new_netif_glue(eth_handles[0]);
+ eth_netif_glues[i] = esp_eth_new_netif_glue(eth_handles[i]);
110
// Attach Ethernet driver to TCP/IP stack
111
ESP_ERROR_CHECK(esp_netif_attach(eth_netifs[i], eth_netif_glues[i]));
112
}
0 commit comments