mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-07-31 19:24:46 +02:00
@@ -418,7 +418,7 @@ void TFT_eSPI::pushPixels(const void* data_in, uint32_t len)
|
||||
if(_swapBytes) {
|
||||
while ( len-- ) {
|
||||
TX_FIFO = (uint8_t)(*data>>8);
|
||||
TX_FIFO = (uint8_t)(*data<<8);
|
||||
TX_FIFO = (uint8_t)(*data);
|
||||
data++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user