Skip to content

Commit fae22f7

Browse files
authored
Update TFT_eSPI_RP2040.c
Fix Bodmer#3233
1 parent 6ae4c97 commit fae22f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Processors/TFT_eSPI_RP2040.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ void TFT_eSPI::pushImageDMA(int32_t x, int32_t y, int32_t w, int32_t h, uint16_t
658658
}
659659
}
660660
// else, if a buffer pointer has been provided copy whole image to the buffer
661-
else if (buffer != image || _swapBytes) {
661+
else if (buffer != image) {
662662
memcpy(buffer, image, len*2);
663663
}
664664

0 commit comments

Comments
 (0)