Fix bugs in lcd drivers after b37e6bc

Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
This commit is contained in:
Andrew Ryabinin 2012-02-29 11:43:51 +04:00
parent e958aeeb76
commit fbb8c31e63
3 changed files with 3 additions and 3 deletions

View file

@ -211,7 +211,7 @@ void lcd_update_rect(int sx, int sy, int width, int height)
fb_data c;
unsigned long color;
c = FBADDR(x,y);
c = *FBADDR(x,y);
color =
((c & 0x1f) << 1) | ((c & 0x7e0) << 1) | ((c & 0xf800) <<
2);