diff --git a/Processors/TFT_eSPI_STM32.h b/Processors/TFT_eSPI_STM32.h index 82a829a6..10915821 100644 --- a/Processors/TFT_eSPI_STM32.h +++ b/Processors/TFT_eSPI_STM32.h @@ -1027,15 +1027,18 @@ #else +/* Remove patch to fix #2933 #if defined(ST7789_DRIVER) || defined(ST7789_2_DRIVER) // Temporary workaround for issue #510 part 2 #define tft_Write_8(C) spi.transfer(C) #else +*/ #define tft_Write_8(C) \ { spiBuffer[0] = C; \ HAL_SPI_Transmit(&spiHal, spiBuffer, 1, 10); delayMicroseconds(1);} +/* Remove patch to fix #2933 #endif - +*/ #define tft_Write_16(C) \ { spiBuffer[0] = (C)>>8; spiBuffer[1] = C; \ HAL_SPI_Transmit(&spiHal, spiBuffer, 2, 10); }