forked from xiaozhi/xiaozhi-esp32
add power save timer
This commit is contained in:
@@ -61,6 +61,8 @@ void Application::CheckNewVersion() {
|
||||
|
||||
display->SetIcon(FONT_AWESOME_DOWNLOAD);
|
||||
display->SetStatus("新版本 " + ota_.GetFirmwareVersion());
|
||||
|
||||
// 预先关闭音频输出,避免升级过程有音频操作
|
||||
board.GetAudioCodec()->EnableOutput(false);
|
||||
|
||||
ota_.StartUpgrade([display](int progress, size_t speed) {
|
||||
|
||||
Reference in New Issue
Block a user