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 <guilherme.ferreira@espressif.com>
This commit is contained in:
heianto
2026-03-31 11:19:59 -03:00
committed by Guilherme Ferreira
parent 4ca48c370e
commit 254e967db2
+1 -1
View File
@@ -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, \ .dma_burst_len = ETH_DMA_BURST_LEN_32, \
.intr_priority = 0, \ .intr_priority = 0, \
.mdc_freq_hz = 0, \
.emac_dataif_gpio = \ .emac_dataif_gpio = \
{ \ { \
.rmii = \ .rmii = \
@@ -246,6 +245,7 @@ typedef bool (*ts_target_exceed_cb_from_isr_t)(esp_eth_mediator_t *eth, void *us
.clock_gpio = -1 \ .clock_gpio = -1 \
} \ } \
}, \ }, \
.mdc_freq_hz = 0, \
} }
#endif // CONFIG_IDF_TARGET_ESP32P4 #endif // CONFIG_IDF_TARGET_ESP32P4