diff options
Diffstat (limited to 'firmware/target/arm/samsung/yh925/lcd-yh925.c')
-rw-r--r-- | firmware/target/arm/samsung/yh925/lcd-yh925.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/samsung/yh925/lcd-yh925.c b/firmware/target/arm/samsung/yh925/lcd-yh925.c index ceed443654..93bfb3a5f2 100644 --- a/firmware/target/arm/samsung/yh925/lcd-yh925.c +++ b/firmware/target/arm/samsung/yh925/lcd-yh925.c @@ -639,7 +639,7 @@ void lcd_update_rect(int x0, int y0, int width, int height) /* start drawing */ lcd_send_cmd(R_WRITE_DATA_2_GRAM); - addr = (unsigned short*)&lcd_framebuffer[y0][x0]; + addr = (unsigned short*)FBADDR(x0,y0); int c, r; |