diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c | 8 |
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 44d80e1c58..e3b1bd918b 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) | |||
71 | /* Update a fraction of the display. */ | 71 | /* Update a fraction of the display. */ |
72 | void lcd_update_rect(int x, int y, int width, int height) | 72 | void lcd_update_rect(int x, int y, int width, int height) |
73 | { | 73 | { |
74 | /* Currently only do full updates. | 74 | /* Currently only do updates with full LCD width. |
75 | * DMA can't handle partial updates and CPU is too slow compared | 75 | * DMA can't handle full partial updates and CPU is too slow compared |
76 | * to full DMA updates */ | 76 | * to DMA updates */ |
77 | x = 0; | 77 | x = 0; |
78 | y = 0; | ||
79 | width = LCD_WIDTH; | 78 | width = LCD_WIDTH; |
80 | height = LCD_HEIGHT; | ||
81 | 79 | ||
82 | mutex_lock(&lcd_mtx); | 80 | mutex_lock(&lcd_mtx); |
83 | 81 | ||