feat: mcp sleep
This commit is contained in:
@ -140,6 +140,10 @@ private:
|
||||
bool aborted_ = false;
|
||||
bool assets_version_checked_ = false;
|
||||
bool play_popup_on_listening_ = false; // Flag to play popup sound after state changes to listening
|
||||
bool fatigue_reminder_triggered_in_listening_ = false;
|
||||
int fatigue_silence_seconds_ = 0;
|
||||
int fatigue_idle_seconds_ = 0;
|
||||
int64_t last_fatigue_reminder_time_us_ = 0;
|
||||
int clock_ticks_ = 0;
|
||||
TaskHandle_t activation_task_handle_ = nullptr;
|
||||
|
||||
@ -155,6 +159,8 @@ private:
|
||||
void HandleWakeWordDetectedEvent();
|
||||
void ContinueOpenAudioChannel(ListeningMode mode);
|
||||
void ContinueWakeWordInvoke(const std::string& wake_word);
|
||||
void CheckFatigueReminder();
|
||||
void TriggerFatigueReminder();
|
||||
|
||||
// Activation task (runs in background)
|
||||
void ActivationTask();
|
||||
|
||||
Reference in New Issue
Block a user