From 55e97ffe3391093257b4feea1afa59cf18cff337 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sun, 16 Feb 2020 18:50:39 +0000 Subject: [PATCH] Fix #539 --- Processors/TFT_eSPI_ESP32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/TFT_eSPI_ESP32.c b/Processors/TFT_eSPI_ESP32.c index 8a41a66..595e5fb 100644 --- a/Processors/TFT_eSPI_ESP32.c +++ b/Processors/TFT_eSPI_ESP32.c @@ -443,7 +443,7 @@ void TFT_eSPI::pushPixels(const void* data_in, uint32_t len){ void TFT_eSPI::pushBlock(uint16_t color, uint32_t len){ if ( (color >> 8) == (color & 0x00FF) ) { if (!len) return; - tft_Write_16(color); WR_L; WR_H; + tft_Write_16(color); while (--len) {WR_L; WR_H; WR_L; WR_H;} } else while (len--) {tft_Write_16(color);}