1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 09:15:38 +03:00

Fix gtests

This commit is contained in:
Kilrah 2017-10-09 10:20:27 +02:00
parent 64a4f10ec7
commit 3d8f1c4780

View file

@ -41,7 +41,7 @@ void doPaint_480x272(QPainter & p)
uint16_t previousColor = 0xFF;
for (int y=0; y<LCD_H; y++) {
for (int x=0; x<LCD_W; x++) {
#if defined(PCBX10)
#if defined(PCBX10) && !defined(SIMU)
uint16_t color = simuLcdBuf[(LCD_W-1-x)+LCD_W*(LCD_H-1-y)]; // color in RGB565
#else
uint16_t color = simuLcdBuf[x+LCD_W*y]; // color in RGB565