forked from espressif/esp-idf
Merge branch 'contrib/github_pr_14276' into 'master'
fix(esp_eth): fix C++ invalid type conversion error (GitHub PR) Closes IDFGH-13363 See merge request espressif/esp-idf!32706
This commit is contained in:
@ -230,7 +230,7 @@ typedef enum {
|
||||
.rmii = \
|
||||
{ \
|
||||
.clock_mode = DEFAULT_RMII_CLK_MODE, \
|
||||
.clock_gpio = DEFAULT_RMII_CLK_GPIO \
|
||||
.clock_gpio = (emac_rmii_clock_gpio_t) DEFAULT_RMII_CLK_GPIO \
|
||||
} \
|
||||
}, \
|
||||
.dma_burst_len = ETH_DMA_BURST_LEN_32, \
|
||||
@ -250,7 +250,7 @@ typedef enum {
|
||||
.rmii = \
|
||||
{ \
|
||||
.clock_mode = EMAC_CLK_EXT_IN, \
|
||||
.clock_gpio = 50 \
|
||||
.clock_gpio = (emac_rmii_clock_gpio_t) 50 \
|
||||
} \
|
||||
}, \
|
||||
.clock_config_out_in = \
|
||||
@ -258,7 +258,7 @@ typedef enum {
|
||||
.rmii = \
|
||||
{ \
|
||||
.clock_mode = EMAC_CLK_EXT_IN, \
|
||||
.clock_gpio = -1 \
|
||||
.clock_gpio = (emac_rmii_clock_gpio_t) -1 \
|
||||
} \
|
||||
}, \
|
||||
.dma_burst_len = ETH_DMA_BURST_LEN_32, \
|
||||
|
Reference in New Issue
Block a user