Explorar el Código

eth2ap: Fix eth2ap example crash issue

Closes https://github.com/espressif/esp-idf/issues/7260
yuanjm hace 4 años
padre
commit
19f96b0e4f
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      examples/ethernet/eth2ap/main/ethernet_example_main.c

+ 1 - 2
examples/ethernet/eth2ap/main/ethernet_example_main.c

@@ -278,7 +278,6 @@ void app_main(void)
     ESP_ERROR_CHECK(ret);
     ESP_ERROR_CHECK(esp_event_loop_create_default());
     ESP_ERROR_CHECK(initialize_flow_control());
-
-    initialize_ethernet();
     initialize_wifi();
+    initialize_ethernet();
 }