From 51cf1c0d34079e44e86171946cf80676c591a396 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 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(); }