mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2024-09-21 02:17:13 +00:00
parent
6ae4c97c5a
commit
fae22f785f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user