forked from Bodmer/TFT_eSPI
Allow DMA for RPi displays
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Code to check if DMA is busy, used by SPI bus transaction transaction and endWrite functions
|
// Code to check if DMA is busy, used by SPI bus transaction transaction and endWrite functions
|
||||||
#if !defined(TFT_PARALLEL_8_BIT) && !defined(SPI_18BIT_DRIVER) && !defined (RPI_DISPLAY_TYPE) || (defined (RPI_DISPLAY_TYPE) && defined (ST7796_DRIVER))
|
#if !defined(TFT_PARALLEL_8_BIT) && !defined(SPI_18BIT_DRIVER)
|
||||||
#define ESP32_DMA
|
#define ESP32_DMA
|
||||||
// Code to check if DMA is busy, used by SPI DMA + transaction + endWrite functions
|
// Code to check if DMA is busy, used by SPI DMA + transaction + endWrite functions
|
||||||
#define DMA_BUSY_CHECK dmaWait()
|
#define DMA_BUSY_CHECK dmaWait()
|
||||||
|
Reference in New Issue
Block a user