diff --git a/main/boards/common/power_save_timer.cc b/main/boards/common/power_save_timer.cc index 75ed1039..f17afbe0 100644 --- a/main/boards/common/power_save_timer.cc +++ b/main/boards/common/power_save_timer.cc @@ -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(); diff --git a/main/boards/common/sleep_timer.cc b/main/boards/common/sleep_timer.cc index b7dece69..f4f3d08d 100644 --- a/main/boards/common/sleep_timer.cc +++ b/main/boards/common/sleep_timer.cc @@ -75,6 +75,7 @@ void SleepTimer::CheckTimer() { bool is_wake_word_running = audio_service.IsWakeWordRunning(); if (is_wake_word_running) { audio_service.EnableWakeWordDetection(false); + vTaskDelay(pdMS_TO_TICKS(100)); } app.Schedule([this, &app]() { diff --git a/main/boards/xmini-c3-4g/xmini_c3_4g_board.cc b/main/boards/xmini-c3-4g/xmini_c3_4g_board.cc index 098bcd6e..8c3bc733 100644 --- a/main/boards/xmini-c3-4g/xmini_c3_4g_board.cc +++ b/main/boards/xmini-c3-4g/xmini_c3_4g_board.cc @@ -48,7 +48,7 @@ private: void InitializePowerSaveTimer() { #if CONFIG_USE_ESP_WAKE_WORD - sleep_timer_ = new SleepTimer(600); + sleep_timer_ = new SleepTimer(300); #else sleep_timer_ = new SleepTimer(30); #endif diff --git a/main/boards/xmini-c3-v3/xmini_c3_board.cc b/main/boards/xmini-c3-v3/xmini_c3_board.cc index 2b9ea6e6..0814e3f0 100644 --- a/main/boards/xmini-c3-v3/xmini_c3_board.cc +++ b/main/boards/xmini-c3-v3/xmini_c3_board.cc @@ -48,7 +48,7 @@ private: void InitializePowerSaveTimer() { #if CONFIG_USE_ESP_WAKE_WORD - power_save_timer_ = new PowerSaveTimer(160, 600); + power_save_timer_ = new PowerSaveTimer(160, 300); #else power_save_timer_ = new PowerSaveTimer(160, 60); #endif diff --git a/main/boards/xmini-c3/xmini_c3_board.cc b/main/boards/xmini-c3/xmini_c3_board.cc index e3c797bc..add3e67c 100644 --- a/main/boards/xmini-c3/xmini_c3_board.cc +++ b/main/boards/xmini-c3/xmini_c3_board.cc @@ -34,7 +34,7 @@ private: void InitializePowerSaveTimer() { #if CONFIG_USE_ESP_WAKE_WORD - power_save_timer_ = new PowerSaveTimer(160, 600); + power_save_timer_ = new PowerSaveTimer(160, 300); #else power_save_timer_ = new PowerSaveTimer(160, 60); #endif