This commit is contained in:
Bodmer
2022-02-21 14:32:02 +00:00
parent 97a9455e63
commit 92d51413aa
4 changed files with 5 additions and 4 deletions

View File

@ -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);