不使用最新版本的lvgl
This commit is contained in:
@@ -140,7 +140,7 @@ static void disp_flush(lv_display_t *disp_drv, const lv_area_t *area, uint8_t *p
|
||||
uint8_t px_size = lv_color_format_get_size(color_format);
|
||||
|
||||
gpio_set_level(LCD_CS, 0);
|
||||
lcd_set_window(area->x1, area->y1, area->x2+1, area->y2+1);
|
||||
lcd_set_window(area->x1, area->y1, area->x2, area->y2);
|
||||
esp_err_t err = lcd_spi_send_data_any(px_map, (area->x2+1 - area->x1) * (area->y2+1 - area->y1) * px_size);
|
||||
gpio_set_level(LCD_CS, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user