chore: archive diagnostics and project documentation
This commit is contained in:
@@ -1502,6 +1502,14 @@ static void process_text_json(const char *json_text)
|
||||
if (is_finished && text_len > 0U) {
|
||||
log_text_preview("TTS", tts_text, is_finished);
|
||||
}
|
||||
if (is_finished) {
|
||||
log_text_preview("Response text",
|
||||
cJSON_IsString(text) ? text->valuestring : NULL,
|
||||
true);
|
||||
log_text_preview("Response spoken",
|
||||
cJSON_IsString(spoken) ? spoken->valuestring : NULL,
|
||||
true);
|
||||
}
|
||||
|
||||
if (cJSON_IsString(text) && text->valuestring != NULL) {
|
||||
notify_responding_text(text->valuestring, is_finished);
|
||||
|
||||
Reference in New Issue
Block a user