From 2c01c41c02d73cb8658859891db90e07cf0c4738 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Mon, 9 Nov 2020 12:15:26 +0000 Subject: [PATCH] Disable DMA as default --- examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino b/examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino index 7c600d2..4601330 100644 --- a/examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino +++ b/examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino @@ -32,7 +32,7 @@ // DMA can be used with STM32 and ESP32 processors when the interface // is SPI, uncomment the next line: -#define USE_DMA +//#define USE_DMA // Load TFT driver library #include @@ -43,9 +43,9 @@ TFT_eSPI tft; // A single instance is used for 1 or 2 displays #define BUFFER_SIZE 1024 // 128 to 1024 seems optimum #ifdef USE_DMA -#define BUFFERS 2 // 2 toggle buffers with DMA + #define BUFFERS 2 // 2 toggle buffers with DMA #else -#define BUFFERS 1 // 1 buffer for no DMA + #define BUFFERS 1 // 1 buffer for no DMA #endif uint16_t pbuffer[BUFFERS][BUFFER_SIZE]; // Pixel rendering buffer