diff options
Diffstat (limited to 'firmware/target/arm/philips/hdd6330/lcd-hdd6330.c')
-rw-r--r-- | firmware/target/arm/philips/hdd6330/lcd-hdd6330.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/philips/hdd6330/lcd-hdd6330.c b/firmware/target/arm/philips/hdd6330/lcd-hdd6330.c index 328c270b5e..cdd3064bba 100644 --- a/firmware/target/arm/philips/hdd6330/lcd-hdd6330.c +++ b/firmware/target/arm/philips/hdd6330/lcd-hdd6330.c | |||
@@ -285,7 +285,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
285 | 285 | ||
286 | lcd_send_reg(LCD_REG_WRITE_DATA_2_GRAM); | 286 | lcd_send_reg(LCD_REG_WRITE_DATA_2_GRAM); |
287 | 287 | ||
288 | addr = (unsigned long*)&lcd_framebuffer[y][x]; | 288 | addr = (unsigned long*)FBADDR(x,y); |
289 | 289 | ||
290 | while (height > 0) | 290 | while (height > 0) |
291 | { | 291 | { |