Explorar el Código

[stm32l475] update lvgl driver

Meco Man hace 4 años
padre
commit
b7d17f3df8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);