display优先级调为最低,避免滚动字幕消耗过多CPU

This commit is contained in:
Terrence
2025-03-04 07:33:49 +08:00
parent 5997ff2ac4
commit 1a808962e2
5 changed files with 8 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ Ssd1306Display::Ssd1306Display(void* i2c_master_handle, int width, int height, b
ESP_LOGI(TAG, "Initialize LVGL");
lvgl_port_cfg_t port_cfg = ESP_LVGL_PORT_INIT_CONFIG();
port_cfg.task_priority = 1;
lvgl_port_init(&port_cfg);
// SSD1306 config