summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-10-12 17:54:35 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-10-12 17:54:35 +0000
commitb69e8bb539867444c04c7cd106386aa4c6217956 (patch)
treef1fc1770e143e1add365192165dabdc71c43d4cc /firmware/target/arm/s5l8700
parent2cc85bc346ba224253a9a1be2d9605dbc79940d9 (diff)
make colours look right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18785 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700')
-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 */
}
}