mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
增加LV的缓存空间
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user