Fixes the grayscale inversion on Taranis (not Plus)

This commit is contained in:
bsongis
2014-07-04 15:20:36 +02:00
parent 6876718d72
commit 6f79de6cae
+3 -3
View File
@@ -168,10 +168,10 @@ void lcdRefresh()
uint8_t b = p[x];
if (y & 1)
b >>= 4;
LCD_WRITE_BIT(b & 0x01);
LCD_WRITE_BIT(b & 0x02);
LCD_WRITE_BIT(b & 0x04);
LCD_WRITE_BIT(b & 0x08);
LCD_WRITE_BIT(b & 0x04);
LCD_WRITE_BIT(b & 0x02);
LCD_WRITE_BIT(b & 0x01);
}
LCD_NCS_HIGH();