Unverified Commit fae22f78 authored by Bodmer's avatar Bodmer Committed by GitHub

Update TFT_eSPI_RP2040.c

Fix #3233
parent 6ae4c97c
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment