diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-02-29 11:43:51 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-02-29 11:43:51 +0400 |
commit | fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c (patch) | |
tree | b234d2470cb5ca0c692df4ff4c885a85863a05bf /firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | |
parent | e958aeeb765f26411544da6312bad282a5f0c867 (diff) | |
download | rockbox-fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c.tar.gz rockbox-fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c.zip |
Fix bugs in lcd drivers after b37e6bc
Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
Diffstat (limited to 'firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c')
-rw-r--r-- | firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c index 8b9a9bda83..e681e1eff7 100644 --- a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c +++ b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | |||
@@ -211,7 +211,7 @@ void lcd_update_rect(int sx, int sy, int width, int height) | |||
211 | fb_data c; | 211 | fb_data c; |
212 | unsigned long color; | 212 | unsigned long color; |
213 | 213 | ||
214 | c = FBADDR(x,y); | 214 | c = *FBADDR(x,y); |
215 | color = | 215 | color = |
216 | ((c & 0x1f) << 1) | ((c & 0x7e0) << 1) | ((c & 0xf800) << | 216 | ((c & 0x1f) << 1) | ((c & 0x7e0) << 1) | ((c & 0xf800) << |
217 | 2); | 217 | 2); |