diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index 7a16ee1..b177ed6 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -453,12 +453,6 @@ // Write 32 bits #define tft_Write_32(C) TFT_WRITE_BITS(C, 32) - // Write two address coordinates - #define tft_Write_16C(C,D) TFT_WRITE_BITS((uint16_t)(D)<<8 | (C), 16) - - // Write same value twice - #define tft_Write_16D(C) TFT_WRITE_BITS((uint16_t)(C)<<8 | (C), 16) - // Write two address coordinates #define tft_Write_32C(C,D) TFT_WRITE_BITS((uint16_t)((D)<<8 | (D)>>8)<<16 | (uint16_t)((C)<<8 | (C)>>8), 32) diff --git a/TFT_Drivers/SSD1351_Defines.h b/TFT_Drivers/SSD1351_Defines.h index f02b80d..c4b0f6c 100644 --- a/TFT_Drivers/SSD1351_Defines.h +++ b/TFT_Drivers/SSD1351_Defines.h @@ -5,14 +5,6 @@ #define TFT_HEIGHT 128 #endif -#ifndef tft_Write_16D - #define tft_Write_16C(C) tft_Write_8(C); tft_Write_8(C); -#endif - -#ifndef tft_Write_16C - #define tft_Write_16C(C,D) tft_Write_8(C); tft_Write_8(D); -#endif - // Delay between some initialisation commands #define TFT_INIT_DELAY 0x80