Fix display inversion issue in T12 tests-radio
This commit is contained in:
committed by
Raphael Coeffic
parent
2498f438f4
commit
d62bce4427
@@ -57,7 +57,11 @@ void doPaint(QPainter & p)
|
|||||||
#endif
|
#endif
|
||||||
for (int x=0; x<LCD_W; x++, idx++) {
|
for (int x=0; x<LCD_W; x++, idx++) {
|
||||||
#if LCD_W < 212
|
#if LCD_W < 212
|
||||||
|
#if defined (LCD_VERTICAL_INVERT)
|
||||||
|
if (simuLcdBuf[DISPLAY_BUFFER_SIZE - idx - 1] & mask) {
|
||||||
|
#else
|
||||||
if (simuLcdBuf[idx] & mask) {
|
if (simuLcdBuf[idx] & mask) {
|
||||||
|
#endif
|
||||||
p.drawPoint(x, y);
|
p.drawPoint(x, y);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user