summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/s5l8700/meizu-m3/lcd-m3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/meizu-m3/lcd-m3.c b/firmware/target/arm/s5l8700/meizu-m3/lcd-m3.c
index 39b8f9b278..624f2aa444 100644
--- a/firmware/target/arm/s5l8700/meizu-m3/lcd-m3.c
+++ b/firmware/target/arm/s5l8700/meizu-m3/lcd-m3.c
@@ -288,9 +288,9 @@ void lcd_update(void)
LCD_WCMD = 0x22;
}
for(p=&lcd_framebuffer[0][0], i=0;i<LCD_WIDTH*LCD_FBHEIGHT;++i, ++p) {
- LCD_WDATA = RGB_UNPACK_RED(*p)<<3;
- LCD_WDATA = RGB_UNPACK_GREEN(*p)<<2;
- LCD_WDATA = RGB_UNPACK_BLUE(*p)<<3;
+ LCD_WDATA = RGB_UNPACK_RED(*p);
+ LCD_WDATA = RGB_UNPACK_GREEN(*p);
+ LCD_WDATA = RGB_UNPACK_BLUE(*p);
lcd_sleep(3); /* if data is sent too fast to lcdif, machine freezes */
}
}