mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-19 07:55:54 +00:00
esp_eth: possible start/stop issue fixed
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
This commit is contained in:
@@ -417,6 +417,11 @@ static inline void emac_ll_flush_trans_fifo_enable(emac_dma_dev_t *dma_regs, boo
|
||||
dma_regs->dmaoperation_mode.flush_tx_fifo = enable;
|
||||
}
|
||||
|
||||
static inline bool emac_ll_get_flush_trans_fifo(emac_dma_dev_t *dma_regs)
|
||||
{
|
||||
return dma_regs->dmaoperation_mode.flush_tx_fifo;
|
||||
}
|
||||
|
||||
static inline void emac_ll_set_transmit_threshold(emac_dma_dev_t *dma_regs, uint32_t threshold)
|
||||
{
|
||||
dma_regs->dmaoperation_mode.tx_thresh_ctrl = threshold;
|
||||
|
Reference in New Issue
Block a user