Skip to content

Commit 3eabce6

Browse files
committed
Update TFT_eSpi for better ESP32 S3 support
1 parent ee9906e commit 3eabce6

File tree

562 files changed

+12475
-7234
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

562 files changed

+12475
-7234
lines changed

.github/ci/prepare-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cp -r ./libraries/ESP32SSDP-1.2.0 $HOME/arduino_ide/libraries/
1010
cp -r ./libraries/arduinoWebSockets-2.3.6 $HOME/arduino_ide/libraries/
1111
cp -r ./libraries/DHT_sensor_library_for_ESPx-1.0.6 $HOME/arduino_ide/libraries/
1212
cp -r ./libraries/esp8266-oled-ssd1306-4.3.0 $HOME/arduino_ide/libraries/
13-
cp -r ./libraries/TFT_eSPI-2.4.61 $HOME/arduino_ide/libraries/
13+
cp -r ./libraries/TFT_eSPI-2.4.72 $HOME/arduino_ide/libraries/
1414
cp -r ./libraries/lvgl-8.2.0 $HOME/arduino_ide/libraries/
1515
cp -r ./libraries/ESP8266-Arduino-Lua-0.0.30 $HOME/arduino_ide/libraries/
1616
cp -r ./libraries/BMx280MI-1.2.0 $HOME/arduino_ide/libraries/

libraries/TFT_eSPI-2.4.61/User_Setup.h

Lines changed: 0 additions & 39 deletions
This file was deleted.

libraries/TFT_eSPI-2.4.61/examples/PNG Images/Flash_PNG/panda_png.h

Lines changed: 0 additions & 7096 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libraries/TFT_eSPI-2.4.61/Extensions/Smooth_font.cpp renamed to libraries/TFT_eSPI-2.4.72/Extensions/Smooth_font.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,14 +430,15 @@ void TFT_eSPI::drawGlyph(uint16_t code)
430430

431431
startWrite(); // Avoid slow ESP32 transaction overhead for every pixel
432432

433-
int16_t fillwidth = 0;
433+
int16_t fillwidth = 0;
434434
int16_t fillheight = 0;
435435

436436
// Fill area above glyph
437437
if (_fillbg) {
438438
fillwidth = (cursor_x + gxAdvance[gNum]) - bg_cursor_x;
439439
if (fillwidth > 0) {
440440
fillheight = gFont.maxAscent - gdY[gNum];
441+
// Could be negative
441442
if (fillheight > 0) {
442443
fillRect(bg_cursor_x, cursor_y, fillwidth, fillheight, textbgcolor);
443444
}

0 commit comments

Comments
 (0)