From cd025dbc793b18ec01370dea5d676a5d9465498e Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 13 Mar 2021 15:03:21 +0000 Subject: [PATCH] Fix #1046 ESP32 DMA did not work if MISO pin is not defined in setup file (affected TTGO T-Display setup 21) --- Processors/TFT_eSPI_ESP32.h | 12 ++---------- TFT_eSPI.h | 2 +- library.json | 4 ++-- library.properties | 2 +- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index 7462940..7045071 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -217,11 +217,7 @@ #ifdef USE_HSPI_PORT #ifndef TFT_MISO - #define TFT_MISO 12 - #endif - #if (TFT_MISO == -1) - #undef TFT_MISO - #define TFT_MISO 12 + #define TFT_MISO -1 #endif #ifndef TFT_MOSI @@ -243,11 +239,7 @@ #else // VSPI port #ifndef TFT_MISO - #define TFT_MISO 19 - #endif - #if (TFT_MISO == -1) - #undef TFT_MISO - #define TFT_MISO 19 + #define TFT_MISO -1 #endif #ifndef TFT_MOSI diff --git a/TFT_eSPI.h b/TFT_eSPI.h index 140ebcd..293a4ff 100644 --- a/TFT_eSPI.h +++ b/TFT_eSPI.h @@ -16,7 +16,7 @@ #ifndef _TFT_eSPIH_ #define _TFT_eSPIH_ -#define TFT_ESPI_VERSION "2.3.60" +#define TFT_ESPI_VERSION "2.3.61" // Bit level feature flags // Bit 0 set: viewport capability diff --git a/library.json b/library.json index a60ac41..575f9e9 100644 --- a/library.json +++ b/library.json @@ -1,7 +1,7 @@ { "name": "TFT_eSPI", - "version": "2.3.60", - "keywords": "Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140", + "version": "2.3.61", + "keywords": "Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, RM68140, SSD1963, ILI9225, HX8357D", "description": "A TFT and ePaper SPI graphics library with optimisation for ESP8266, ESP32 and STM32", "repository": { diff --git a/library.properties b/library.properties index 8877cd0..f4a4560 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TFT_eSPI -version=2.3.60 +version=2.3.61 author=Bodmer maintainer=Bodmer sentence=TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32