update the sleep time of xmini-c3 with wake word to 300s (#1007)

This commit is contained in:
Xiaoxia
2025-07-30 15:25:39 +08:00
committed by GitHub
parent e0e12450c5
commit 03394fe38d
5 changed files with 5 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ void PowerSaveTimer::PowerSaveCheck() {
is_wake_word_running_ = audio_service.IsWakeWordRunning();
if (is_wake_word_running_) {
audio_service.EnableWakeWordDetection(false);
vTaskDelay(pdMS_TO_TICKS(100));
}
// Disable audio input
auto codec = Board::GetInstance().GetAudioCodec();