fix(rgb_lcd): drift issue caused by restart

Closes https://github.com/espressif/esp-idf/issues/15013
This commit is contained in:
morris
2025-02-11 16:00:16 +08:00
parent 4f9f6bb4f7
commit 2c6f22c12b

View File

@@ -1053,8 +1053,8 @@ static IRAM_ATTR void lcd_rgb_panel_try_restart_transmission(esp_rgb_panel_t *pa
}
}
gdma_reset(panel->dma_chan);
lcd_ll_fifo_reset(panel->hal.dev);
gdma_reset(panel->dma_chan);
#if RGB_LCD_NEEDS_SEPARATE_RESTART_LINK
// restart the DMA by a special DMA node
gdma_start(panel->dma_chan, gdma_link_get_head_addr(panel->dma_restart_link));