ssd1289 fix
This commit is contained in:
parent
61a6273bce
commit
1930efd745
1 changed files with 1 additions and 4 deletions
|
@ -160,10 +160,7 @@ uint16_t lld_lcdGetPixelColor(uint16_t x, uint16_t y) {
|
||||||
dummy = lcdReadData();
|
dummy = lcdReadData();
|
||||||
Set_CS;
|
Set_CS;
|
||||||
|
|
||||||
if( DeviceCode==0x7783 || DeviceCode==0x4531 || DeviceCode==0x8989 )
|
return dummy;
|
||||||
return dummy;
|
|
||||||
else
|
|
||||||
return lcdBGR2RGB(dummy);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void lld_lcdDrawPixel(uint16_t x, uint16_t y, uint16_t color) {
|
void lld_lcdDrawPixel(uint16_t x, uint16_t y, uint16_t color) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue