diff --git a/examples/ethernet/eth2ap/main/ethernet_example_main.c b/examples/ethernet/eth2ap/main/ethernet_example_main.c index 435a435d78..7de04789e2 100644 --- a/examples/ethernet/eth2ap/main/ethernet_example_main.c +++ b/examples/ethernet/eth2ap/main/ethernet_example_main.c @@ -242,7 +242,6 @@ void app_main() ESP_ERROR_CHECK(ret); ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(initialize_flow_control()); - - initialize_ethernet(); initialize_wifi(); + initialize_ethernet(); }