forked from xiaozhi/xiaozhi-esp32
display优先级调为最低,避免滚动字幕消耗过多CPU
This commit is contained in:
@@ -353,7 +353,7 @@ void Application::Start() {
|
||||
Application* app = (Application*)arg;
|
||||
app->MainLoop();
|
||||
vTaskDelete(NULL);
|
||||
}, "main_loop", 4096 * 2, this, 2, nullptr);
|
||||
}, "main_loop", 4096 * 2, this, 3, nullptr);
|
||||
|
||||
/* Wait for the network to be ready */
|
||||
board.StartNetwork();
|
||||
@@ -468,7 +468,7 @@ void Application::Start() {
|
||||
Application* app = (Application*)arg;
|
||||
app->CheckNewVersion();
|
||||
vTaskDelete(NULL);
|
||||
}, "check_new_version", 4096 * 2, this, 1, nullptr);
|
||||
}, "check_new_version", 4096 * 2, this, 2, nullptr);
|
||||
|
||||
#if CONFIG_USE_AUDIO_PROCESSOR
|
||||
audio_processor_.Initialize(codec->input_channels(), codec->input_reference());
|
||||
|
||||
Reference in New Issue
Block a user