[stm32l475] update lvgl driver
This commit is contained in:
parent
a087a1b0fc
commit
b7d17f3df8
|
@ -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)
|
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;
|
size = (x_end - x_start + 1) * (y_end - y_start + 1) * 2;
|
||||||
lcd_address_set(x_start, y_start, x_end, y_end);
|
lcd_address_set(x_start, y_start, x_end, y_end);
|
||||||
|
|
Loading…
Reference in New Issue