diff options
Diffstat (limited to 'firmware/target/arm/rk27xx/ma/lcd-ma.c')
-rw-r--r-- | firmware/target/arm/rk27xx/ma/lcd-ma.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/arm/rk27xx/ma/lcd-ma.c b/firmware/target/arm/rk27xx/ma/lcd-ma.c index 3c3d9fb097..a35f13ba3a 100644 --- a/firmware/target/arm/rk27xx/ma/lcd-ma.c +++ b/firmware/target/arm/rk27xx/ma/lcd-ma.c | |||
@@ -172,20 +172,6 @@ void lcd_set_gram_area(int x_start, int y_start, | |||
172 | LCDC_CTRL &= ~RGB24B; | 172 | LCDC_CTRL &= ~RGB24B; |
173 | } | 173 | } |
174 | 174 | ||
175 | void lcd_update_rect(int x, int y, int width, int height) | ||
176 | { | ||
177 | int px = x, py = y; | ||
178 | int pxmax = x + width, pymax = y + height; | ||
179 | |||
180 | lcd_set_gram_area(x, y, pxmax-1, pymax-1); | ||
181 | |||
182 | for (py = y; py < pymax; py++) | ||
183 | for (px = x; px < pxmax; px++) | ||
184 | LCD_DATA = (*FBADDR(px, py)); | ||
185 | |||
186 | } | ||
187 | |||
188 | |||
189 | bool lcd_active() | 175 | bool lcd_active() |
190 | { | 176 | { |
191 | return display_on; | 177 | return display_on; |