diff --git a/TFT_eSPI.cpp b/TFT_eSPI.cpp index c864c49..7375933 100644 --- a/TFT_eSPI.cpp +++ b/TFT_eSPI.cpp @@ -3453,13 +3453,14 @@ void TFT_eSPI::drawPixel(int32_t x, int32_t y, uint32_t color) #else - #if defined (SSD1351_DRIVER) || defined (SSD1963_DRIVER) + #if defined (SSD1963_DRIVER) if ((rotation & 0x1) == 0) { swap_coord(x, y); } #endif SPI_BUSY_CHECK; #if defined (SSD1351_DRIVER) + if (rotation & 0x1) { swap_coord(x, y); } // No need to send x if it has not changed (speeds things up) if (addr_col != x) { DC_C; tft_Write_8(TFT_CASET); diff --git a/TFT_eSPI.h b/TFT_eSPI.h index a7d894b..e65eccb 100644 --- a/TFT_eSPI.h +++ b/TFT_eSPI.h @@ -16,7 +16,7 @@ #ifndef _TFT_eSPIH_ #define _TFT_eSPIH_ -#define TFT_ESPI_VERSION "2.4.39" +#define TFT_ESPI_VERSION "2.4.40" // Bit level feature flags // Bit 0 set: viewport capability diff --git a/library.json b/library.json index cd13512..0894465 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "TFT_eSPI", - "version": "2.4.39", + "version": "2.4.40", "keywords": "Arduino, tft, ePaper, display, Pico, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, RM68140, SSD1351, SSD1963, ILI9225, HX8357D", "description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, ESP8266, ESP32 and STM32", "repository": diff --git a/library.properties b/library.properties index c74ca83..c05b80e 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TFT_eSPI -version=2.4.39 +version=2.4.40 author=Bodmer maintainer=Bodmer sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32