mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 09:15:38 +03:00
Fix gtests
This commit is contained in:
parent
64a4f10ec7
commit
3d8f1c4780
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue