feat(i18n): zh-CN examples log in English, matching the serial-monitor convention

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-11-01 22:11:46 -03:00
1 parent 2b73b57ee6
commit 4e99dd3a87
12 files changed
+28 -28

No files matched your search

+4 -4
View File
@@ -46,7 +46,7 @@ void speech_recognition_task(void *arg)
const esp_mn_iface_t *multinet = &ESP_MN_HANDLE;
model_iface_data_t *model_data = multinet->create(&MULTINET_MODEL, 6000);
ESP_LOGI(TAG, "Aguardando palavra-chave de ativação (ex: 'Hi, ESP')...");
ESP_LOGI(TAG, "Waiting for the wake word (e.g. 'Hi, ESP')...");
while (1) {
afe_fetch_result_t *res = afe_handle->fetch(afe_data);
@@ -69,9 +69,9 @@ void speech_recognition_task(void *arg)
// 操作示例
if (mn_res->command_id[0] == 1) {
ESP_LOGI(TAG, "Ação: Ligar Luz da Sala");
ESP_LOGI(TAG, "Action: turn on the living room light");
} else if (mn_res->command_id[0] == 2) {
ESP_LOGI(TAG, "Ação: Desligar Luz da Sala");
ESP_LOGI(TAG, "Action: turn off the living room light");
}
} else if (mn_state == ESP_MN_STATE_TIMEOUT) {
ESP_LOGI(TAG, "Tempo esgotado. Retornando ao modo de escuta de Wake Word.");
@@ -83,7 +83,7 @@ void speech_recognition_task(void *arg)
void app_main(void)
{
ESP_LOGI(TAG, "Iniciando ESP-SR Speech Recognition Engine");
ESP_LOGI(TAG, "Starting ESP-SR Speech Recognition Engine");
// 配置音频前端流水线(AEC、BSS、VAD、WakeNet)
afe_config_t afe_config = AFE_CONFIG_DEFAULT();