add power save timer

This commit is contained in:
Terrence
2024-11-19 08:50:47 +08:00
parent 6bfe2719a8
commit 874adc80b8
7 changed files with 74 additions and 29 deletions

View File

@@ -120,7 +120,7 @@ void Display::Update() {
}
}
// 仅在聊天状态为空闲时,更新网络图标
// 仅在聊天状态为空闲时,读取网络状态(避免升级时占用 UART 资源)
auto chat_state = Application::GetInstance().GetChatState();
if (chat_state == kChatStateIdle || chat_state == kChatStateUnknown) {
icon = board.GetNetworkStateIcon();