From 1191bdeffb86c08cc3f305eecced89b73089e767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=90=83=E6=B2=B9=E7=82=B8=E9=B8=A1?= <1425962791@qq.com> Date: Sat, 28 Feb 2026 19:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0LV=E7=9A=84=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- software/Power_Pico/Middlewares/LVGL/porting/lv_port_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/Power_Pico/Middlewares/LVGL/porting/lv_port_disp.c b/software/Power_Pico/Middlewares/LVGL/porting/lv_port_disp.c index 39db2cd..8101e41 100644 --- a/software/Power_Pico/Middlewares/LVGL/porting/lv_port_disp.c +++ b/software/Power_Pico/Middlewares/LVGL/porting/lv_port_disp.c @@ -75,7 +75,7 @@ void lv_port_disp_init(void) /* Example 1 * One buffer for partial rendering*/ LV_ATTRIBUTE_MEM_ALIGN - static uint8_t buf_1_1[MY_DISP_HOR_RES * MY_DISP_VER_RES / 4 * BYTE_PER_PIXEL]; + static uint8_t buf_1_1[MY_DISP_HOR_RES * MY_DISP_VER_RES / 2 * BYTE_PER_PIXEL]; lv_display_set_buffers(disp, buf_1_1, NULL, sizeof(buf_1_1), LV_DISPLAY_RENDER_MODE_PARTIAL); #elif BUFFER_METHOD == 2