From 1930efd7456e65e3e4888b173f426cfbcacb75fe Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 11 Jun 2012 12:41:02 +0200 Subject: ssd1289 fix --- drivers/ssd1289_lld.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/ssd1289_lld.c b/drivers/ssd1289_lld.c index d07b6742..2d5b44dd 100644 --- a/drivers/ssd1289_lld.c +++ b/drivers/ssd1289_lld.c @@ -160,10 +160,7 @@ uint16_t lld_lcdGetPixelColor(uint16_t x, uint16_t y) { dummy = lcdReadData(); Set_CS; - if( DeviceCode==0x7783 || DeviceCode==0x4531 || DeviceCode==0x8989 ) - return dummy; - else - return lcdBGR2RGB(dummy); + return dummy; } void lld_lcdDrawPixel(uint16_t x, uint16_t y, uint16_t color) { -- cgit v1.2.3