Browse Source

[stm32l475] update lvgl driver

Meco Man 3 years ago
parent
commit
b7d17f3df8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32/stm32l475-atk-pandora/board/ports/lcd/drv_lcd.c

+ 1 - 1
bsp/stm32/stm32l475-atk-pandora/board/ports/lcd/drv_lcd.c

@@ -438,7 +438,7 @@ void lcd_fill(rt_uint16_t x_start, rt_uint16_t y_start, rt_uint16_t x_end, rt_ui
  */
 void lcd_fill_array(rt_uint16_t x_start, rt_uint16_t y_start, rt_uint16_t x_end, rt_uint16_t y_end, void *pcolor)
 {
-    rt_uint32_t size = 0, size_remain = 0;
+    rt_uint32_t size = 0;
 
     size = (x_end - x_start + 1) * (y_end - y_start + 1) * 2;
     lcd_address_set(x_start, y_start, x_end, y_end);