Skip to content

Commit cd025db

Browse files
committed
Fix #1046
ESP32 DMA did not work if MISO pin is not defined in setup file (affected TTGO T-Display setup 21)
1 parent c47d6e2 commit cd025db

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

Processors/TFT_eSPI_ESP32.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,7 @@
217217
#ifdef USE_HSPI_PORT
218218

219219
#ifndef TFT_MISO
220-
#define TFT_MISO 12
221-
#endif
222-
#if (TFT_MISO == -1)
223-
#undef TFT_MISO
224-
#define TFT_MISO 12
220+
#define TFT_MISO -1
225221
#endif
226222

227223
#ifndef TFT_MOSI
@@ -243,11 +239,7 @@
243239
#else // VSPI port
244240

245241
#ifndef TFT_MISO
246-
#define TFT_MISO 19
247-
#endif
248-
#if (TFT_MISO == -1)
249-
#undef TFT_MISO
250-
#define TFT_MISO 19
242+
#define TFT_MISO -1
251243
#endif
252244

253245
#ifndef TFT_MOSI

TFT_eSPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef _TFT_eSPIH_
1717
#define _TFT_eSPIH_
1818

19-
#define TFT_ESPI_VERSION "2.3.60"
19+
#define TFT_ESPI_VERSION "2.3.61"
2020

2121
// Bit level feature flags
2222
// Bit 0 set: viewport capability

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "TFT_eSPI",
3-
"version": "2.3.60",
4-
"keywords": "Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140",
3+
"version": "2.3.61",
4+
"keywords": "Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, RM68140, SSD1963, ILI9225, HX8357D",
55
"description": "A TFT and ePaper SPI graphics library with optimisation for ESP8266, ESP32 and STM32",
66
"repository":
77
{

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TFT_eSPI
2-
version=2.3.60
2+
version=2.3.61
33
author=Bodmer
44
maintainer=Bodmer
55
sentence=TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32

0 commit comments

Comments
 (0)