From 974cd7d9cb21387031dd01265638132f9a530fe6 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 19 Dec 2020 13:56:02 +0000 Subject: [PATCH] Allow DMA for RPi displays --- Processors/TFT_eSPI_ESP32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index b1d2f9d..ad00285 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -52,7 +52,7 @@ #endif // 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 // Code to check if DMA is busy, used by SPI DMA + transaction + endWrite functions #define DMA_BUSY_CHECK dmaWait()