Fix #1046
ESP32 DMA did not work if MISO pin is not defined in setup file (affected TTGO T-Display setup 21)
This commit is contained in:
parent
c47d6e2d09
commit
cd025dbc79
|
|
@ -217,11 +217,7 @@
|
||||||
#ifdef USE_HSPI_PORT
|
#ifdef USE_HSPI_PORT
|
||||||
|
|
||||||
#ifndef TFT_MISO
|
#ifndef TFT_MISO
|
||||||
#define TFT_MISO 12
|
#define TFT_MISO -1
|
||||||
#endif
|
|
||||||
#if (TFT_MISO == -1)
|
|
||||||
#undef TFT_MISO
|
|
||||||
#define TFT_MISO 12
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TFT_MOSI
|
#ifndef TFT_MOSI
|
||||||
|
|
@ -243,11 +239,7 @@
|
||||||
#else // VSPI port
|
#else // VSPI port
|
||||||
|
|
||||||
#ifndef TFT_MISO
|
#ifndef TFT_MISO
|
||||||
#define TFT_MISO 19
|
#define TFT_MISO -1
|
||||||
#endif
|
|
||||||
#if (TFT_MISO == -1)
|
|
||||||
#undef TFT_MISO
|
|
||||||
#define TFT_MISO 19
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TFT_MOSI
|
#ifndef TFT_MOSI
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef _TFT_eSPIH_
|
#ifndef _TFT_eSPIH_
|
||||||
#define _TFT_eSPIH_
|
#define _TFT_eSPIH_
|
||||||
|
|
||||||
#define TFT_ESPI_VERSION "2.3.60"
|
#define TFT_ESPI_VERSION "2.3.61"
|
||||||
|
|
||||||
// Bit level feature flags
|
// Bit level feature flags
|
||||||
// Bit 0 set: viewport capability
|
// Bit 0 set: viewport capability
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "TFT_eSPI",
|
"name": "TFT_eSPI",
|
||||||
"version": "2.3.60",
|
"version": "2.3.61",
|
||||||
"keywords": "Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140",
|
"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",
|
"description": "A TFT and ePaper SPI graphics library with optimisation for ESP8266, ESP32 and STM32",
|
||||||
"repository":
|
"repository":
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name=TFT_eSPI
|
name=TFT_eSPI
|
||||||
version=2.3.60
|
version=2.3.61
|
||||||
author=Bodmer
|
author=Bodmer
|
||||||
maintainer=Bodmer
|
maintainer=Bodmer
|
||||||
sentence=TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32
|
sentence=TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue