Skip to content

Commit d94408b

Browse files
committed
Fix #1758
As proposed in #1914
1 parent a0bfb52 commit d94408b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

TFT_eSPI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ void TFT_eSPI::init(uint8_t tc)
676676
pinMode(TFT_RST, OUTPUT);
677677
#endif
678678
if (TFT_RST >= 0) {
679+
writecommand(0x00); // Put SPI bus in known state for TFT with CS tied low
679680
digitalWrite(TFT_RST, HIGH);
680681
delay(5);
681682
digitalWrite(TFT_RST, LOW);

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.4.71"
19+
#define TFT_ESPI_VERSION "2.4.72"
2020

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

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "TFT_eSPI",
3-
"version": "2.4.71",
3+
"version": "2.4.72",
44
"keywords": "Arduino, tft, display, ttgo, LilyPi, WT32-SC01, ePaper, display, Pico, RP2040 Nano Connect, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, ST7796, RM68140, SSD1351, SSD1963, ILI9225, HX8357D, GC9A01, R61581",
55
"description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, RP2040, ESP8266, ESP32 and STM32",
66
"repository":

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.4.71
2+
version=2.4.72
33
author=Bodmer
44
maintainer=Bodmer
55
sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32

0 commit comments

Comments
 (0)