mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-30 04:15:06 +00:00
27e6e8c485
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.