From f2686a9024bd0d19c34f8ebff18b7913efaac10a Mon Sep 17 00:00:00 2001 From: Bodmer Date: Tue, 29 May 2018 22:06:14 +0100 Subject: [PATCH] Try alternative drawLine for HX8357D display as noted in issue #149 --- TFT_eSPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TFT_eSPI.cpp b/TFT_eSPI.cpp index c13b596..ac43339 100644 --- a/TFT_eSPI.cpp +++ b/TFT_eSPI.cpp @@ -3231,7 +3231,7 @@ void TFT_eSPI::pushColors(uint16_t *data, uint32_t len, bool swap) // Bresenham's algorithm - thx wikipedia - speed enhanced by Bodmer to use // an efficient FastH/V Line draw routine for line segments of 2 pixels or more -#if defined (RPI_ILI9486_DRIVER) || defined (ESP32) || defined (RPI_WRITE_STROBE) +#if defined (RPI_ILI9486_DRIVER) || defined (ESP32) || defined (RPI_WRITE_STROBE) || defined (HX8357D_DRIVER) void TFT_eSPI::drawLine(int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint32_t color) {