diff options
Diffstat (limited to 'firmware/target/coldfire/iaudio/lcd-remote-iaudio.c')
-rw-r--r-- | firmware/target/coldfire/iaudio/lcd-remote-iaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iaudio/lcd-remote-iaudio.c b/firmware/target/coldfire/iaudio/lcd-remote-iaudio.c index 88fc6fc563..e84760e197 100644 --- a/firmware/target/coldfire/iaudio/lcd-remote-iaudio.c +++ b/firmware/target/coldfire/iaudio/lcd-remote-iaudio.c | |||
@@ -228,7 +228,7 @@ void lcd_remote_update(void) | |||
228 | have to update one page at a time. */ | 228 | have to update one page at a time. */ |
229 | lcd_remote_write_command(LCD_SET_PAGE | (y > 5 ? y + 2 : y)); | 229 | lcd_remote_write_command(LCD_SET_PAGE | (y > 5 ? y + 2 : y)); |
230 | lcd_remote_write_command_ex(LCD_SET_COLUMN | 0, 0); | 230 | lcd_remote_write_command_ex(LCD_SET_COLUMN | 0, 0); |
231 | lcd_remote_write_data(lcd_remote_framebuffer[y], LCD_REMOTE_WIDTH); | 231 | lcd_remote_write_data(FBREMOTEADDR(0, y), LCD_REMOTE_WIDTH); |
232 | } | 232 | } |
233 | } | 233 | } |
234 | } | 234 | } |
@@ -260,7 +260,7 @@ void lcd_remote_update_rect(int x, int y, int width, int height) | |||
260 | lcd_remote_write_command_ex(LCD_SET_COLUMN | ((x >> 4) & 0xf), | 260 | lcd_remote_write_command_ex(LCD_SET_COLUMN | ((x >> 4) & 0xf), |
261 | x & 0xf); | 261 | x & 0xf); |
262 | 262 | ||
263 | lcd_remote_write_data(&lcd_remote_framebuffer[y][x], width); | 263 | lcd_remote_write_data(FBREMOTEADDR(x,y), width); |
264 | } | 264 | } |
265 | } | 265 | } |
266 | } | 266 | } |