This commit is contained in:
Niccolò Izzo 2020-10-21 21:27:07 +02:00
parent 4b27cb7db2
commit 4a27aadcc2
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ void display_renderRows(uint8_t startRow, uint8_t endRow)
{ {
size_t pos = x + y * SCREEN_WIDTH; size_t pos = x + y * SCREEN_WIDTH;
uint16_t pixel = frameBuffer[pos]; uint16_t pixel = frameBuffer[pos];
frameBuffer[ipos] = __builtin_bswap16(pixel); frameBuffer[pos] = __builtin_bswap16(pixel);
} }
} }