From fae22f785f8b4f7970195487826a348d08d082ae Mon Sep 17 00:00:00 2001 From: Bodmer Date: Tue, 19 Mar 2024 11:27:56 +0000 Subject: [PATCH] Update TFT_eSPI_RP2040.c Fix #3233 --- Processors/TFT_eSPI_RP2040.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/TFT_eSPI_RP2040.c b/Processors/TFT_eSPI_RP2040.c index e046c7a..a697427 100644 --- a/Processors/TFT_eSPI_RP2040.c +++ b/Processors/TFT_eSPI_RP2040.c @@ -658,7 +658,7 @@ void TFT_eSPI::pushImageDMA(int32_t x, int32_t y, int32_t w, int32_t h, uint16_t } } // else, if a buffer pointer has been provided copy whole image to the buffer - else if (buffer != image || _swapBytes) { + else if (buffer != image) { memcpy(buffer, image, len*2); }