From 158501bd288dcb366af6bff3abd06f1136c9809b Mon Sep 17 00:00:00 2001 From: heianto <129732040+antohei@users.noreply.github.com> Date: Thu, 12 Mar 2026 22:27:50 -0300 Subject: [PATCH] fix(esp_eth): Fixed designated initializer order in ETH_ESP32_EMAC_DEFAULT_CONFIG Merges https://github.com/espressif/esp-idf/pull/18275 Signed-off-by: Guilherme Ferreira --- components/esp_eth/include/esp_eth_mac_esp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_eth/include/esp_eth_mac_esp.h b/components/esp_eth/include/esp_eth_mac_esp.h index a56678ee281..7ed904e17bd 100644 --- a/components/esp_eth/include/esp_eth_mac_esp.h +++ b/components/esp_eth/include/esp_eth_mac_esp.h @@ -225,7 +225,6 @@ typedef bool (*ts_target_exceed_cb_from_isr_t)(esp_eth_mediator_t *eth, void *us }, \ .dma_burst_len = ETH_DMA_BURST_LEN_32, \ .intr_priority = 0, \ - .mdc_freq_hz = 0, \ .emac_dataif_gpio = \ { \ .rmii = \ @@ -246,6 +245,7 @@ typedef bool (*ts_target_exceed_cb_from_isr_t)(esp_eth_mediator_t *eth, void *us .clock_gpio = -1 \ } \ }, \ + .mdc_freq_hz = 0, \ } #endif // CONFIG_IDF_TARGET_ESP32P4