summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c
index 44d80e1..e3b1bd9 100644
--- a/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c
@@ -71,13 +71,11 @@ bool lcd_active(void)
/* Update a fraction of the display. */
void lcd_update_rect(int x, int y, int width, int height)
{
- /* Currently only do full updates.
- * DMA can't handle partial updates and CPU is too slow compared
- * to full DMA updates */
+ /* Currently only do updates with full LCD width.
+ * DMA can't handle full partial updates and CPU is too slow compared
+ * to DMA updates */
x = 0;
- y = 0;
width = LCD_WIDTH;
- height = LCD_HEIGHT;
mutex_lock(&lcd_mtx);