Fix display inversion issue in T12 tests-radio

This commit is contained in:
Raphael Coeffic
2021-05-06 12:55:59 +02:00
committed by Raphael Coeffic
parent 2498f438f4
commit d62bce4427
+4
View File
@@ -57,7 +57,11 @@ void doPaint(QPainter & p)
#endif
for (int x=0; x<LCD_W; x++, idx++) {
#if LCD_W < 212
#if defined (LCD_VERTICAL_INVERT)
if (simuLcdBuf[DISPLAY_BUFFER_SIZE - idx - 1] & mask) {
#else
if (simuLcdBuf[idx] & mask) {
#endif
p.drawPoint(x, y);
}
#else