Skip to content

Commit

Permalink
Print "Thinking..." on the display after speech while command is sent
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiankielhofner committed Sep 5, 2023
1 parent bf5c379 commit 1e6f673
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ static esp_err_t cb_ar_event(audio_rec_evt_t are, void *data)
ESP_LOGI(TAG, "AUDIO_REC_WAKEUP_END");
msg = MSG_STOP;
xQueueSend(q_rec, &msg, 0);
if (lvgl_port_lock(lvgl_lock_timeout)) {
lv_label_set_text_static(lbl_ln3, "Thinking...");
lvgl_port_unlock();
}
break;
case AUDIO_REC_WAKEUP_START:
ESP_LOGI(TAG, "AUDIO_REC_WAKEUP_START");
Expand Down

0 comments on commit 1e6f673

Please sign in to comment.