summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/samsung/yh920/lcd-yh920.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/samsung/yh920/lcd-yh920.c')
-rw-r--r--firmware/target/arm/samsung/yh920/lcd-yh920.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/samsung/yh920/lcd-yh920.c b/firmware/target/arm/samsung/yh920/lcd-yh920.c
index 6c1528b630..fe64728e21 100644
--- a/firmware/target/arm/samsung/yh920/lcd-yh920.c
+++ b/firmware/target/arm/samsung/yh920/lcd-yh920.c
@@ -281,7 +281,7 @@ void lcd_update_rect(int x0, int y, int width, int height)
addr = &lcd_framebuffer[y][x0];
lcd_send_cmd(LCD_CNTL_DATA_WRITE);
- for (x = x0; x < width; x++)
+ for (x = 0; x < width; x++)
lcd_send_data(*addr++);
}
}