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/rk27xx | |
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/rk27xx')
-rw-r--r-- | firmware/target/arm/rk27xx/lcd-hifiman.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/rk27xx/lcd-hifiman.c b/firmware/target/arm/rk27xx/lcd-hifiman.c index 21ca321d1f..dba6accd1d 100644 --- a/firmware/target/arm/rk27xx/lcd-hifiman.c +++ b/firmware/target/arm/rk27xx/lcd-hifiman.c | |||
@@ -162,7 +162,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
162 | 162 | ||
163 | for (px=x; px<pxmax; px++) | 163 | for (px=x; px<pxmax; px++) |
164 | for (py=y; py<pymax; py++) | 164 | for (py=y; py<pymax; py++) |
165 | lcd_data(FBADDR(px, py)); | 165 | lcd_data(*FBADDR(px, py)); |
166 | } | 166 | } |
167 | 167 | ||
168 | /* Blit a YUV bitmap directly to the LCD */ | 168 | /* Blit a YUV bitmap directly to the LCD */ |
diff --git a/firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c b/firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c index 6b989a6dd7..e15262398b 100644 --- a/firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c +++ b/firmware/target/arm/rk27xx/rk27generic/lcd-rk27generic.c | |||
@@ -191,7 +191,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
191 | for (py=y; py<pymax; py++) | 191 | for (py=y; py<pymax; py++) |
192 | { | 192 | { |
193 | for (px=x; px<pxmax; px++) | 193 | for (px=x; px<pxmax; px++) |
194 | LCD_DATA = lcd_pixel_transform(FBADDR(px,py)); | 194 | LCD_DATA = lcd_pixel_transform(*FBADDR(px,py)); |
195 | } | 195 | } |
196 | } | 196 | } |
197 | 197 | ||