summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc77x
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-02-29 11:43:51 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-02-29 11:43:51 +0400
commitfbb8c31e63f83dbba62ea32e6760c67a0d1fae2c (patch)
treeb234d2470cb5ca0c692df4ff4c885a85863a05bf /firmware/target/arm/tcc77x
parente958aeeb765f26411544da6312bad282a5f0c867 (diff)
downloadrockbox-fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c.tar.gz
rockbox-fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c.tar.bz2
rockbox-fbb8c31e63f83dbba62ea32e6760c67a0d1fae2c.zip
Fix bugs in lcd drivers after b37e6bc
Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
Diffstat (limited to 'firmware/target/arm/tcc77x')
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c2
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)
fb_data c;
unsigned long color;
- c = FBADDR(x,y);
+ c = *FBADDR(x,y);
color =
((c & 0x1f) << 1) | ((c & 0x7e0) << 1) | ((c & 0xf800) <<
2);