Skip to content

Commit b2dc652

Browse files
authored
Update esp_eth_mac_esp.h
clock_config_out_in reorder
1 parent a72447f commit b2dc652

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

esp32p4/include/esp_eth/include/esp_eth_mac_esp.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,6 @@ typedef enum {
253253
.clock_gpio = (emac_rmii_clock_gpio_t) 50 \
254254
} \
255255
}, \
256-
.clock_config_out_in = \
257-
{ \
258-
.rmii = \
259-
{ \
260-
.clock_mode = EMAC_CLK_EXT_IN, \
261-
.clock_gpio = (emac_rmii_clock_gpio_t) -1 \
262-
} \
263-
}, \
264256
.dma_burst_len = ETH_DMA_BURST_LEN_32, \
265257
.intr_priority = 0, \
266258
.emac_dataif_gpio = \
@@ -275,6 +267,14 @@ typedef enum {
275267
.rxd1_num = 30 \
276268
} \
277269
}, \
270+
.clock_config_out_in = \
271+
{ \
272+
.rmii = \
273+
{ \
274+
.clock_mode = EMAC_CLK_EXT_IN, \
275+
.clock_gpio = (emac_rmii_clock_gpio_t) -1 \
276+
} \
277+
}, \
278278
}
279279
#endif // CONFIG_IDF_TARGET_ESP32P4
280280

0 commit comments

Comments
 (0)