From e62a4f1a583106ba2616b20c6de74c64478d1b3d Mon Sep 17 00:00:00 2001 From: yuanjm Date: Fri, 23 Jul 2021 17:55:01 +0800 Subject: [PATCH] eth2ap: Fix eth2ap example crash issue Closes https://github.com/espressif/esp-idf/issues/7260 --- examples/ethernet/eth2ap/main/ethernet_example_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/ethernet/eth2ap/main/ethernet_example_main.c b/examples/ethernet/eth2ap/main/ethernet_example_main.c index 5049b0c75d..ee95bf3a90 100644 --- a/examples/ethernet/eth2ap/main/ethernet_example_main.c +++ b/examples/ethernet/eth2ap/main/ethernet_example_main.c @@ -240,7 +240,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(); }