feat(control_plane): play prompt before light standby

This commit is contained in:
chenjintao
2026-08-21 15:13:23 +08:00
parent bba99a09ec
commit cb203a74f4
7 changed files with 235 additions and 12 deletions
+15
View File
@@ -356,6 +356,21 @@ menu "Example Configuration"
Backlight brightness while the LCD render loop continues.
The minimum remains visible so the base expression persists.
config TQ_LIGHT_STANDBY_PROMPT_ENABLE
bool "Play a prompt before entering light standby"
default y
depends on TQ_LIGHT_STANDBY_ENABLE
help
Play the configured prompt to completion before applying
standby policies such as disabling the speaker amplifier.
config TQ_LIGHT_STANDBY_PROMPT_FILE
string "Light-standby entry prompt file"
default "standby_5min.opus"
depends on TQ_LIGHT_STANDBY_PROMPT_ENABLE
help
Prompt file in the LittleFS audio_prompts directory.
config TQ_LIGHT_STANDBY_DISABLE_SPEAKER_OUTPUT
bool "Disable speaker output in light standby"
default y