fix: fix wakenet model index (#893)

* fix: fix wakenet model index

* fix:Fix warning

* feat: Use jarvis and sophia as wakeup words
This commit is contained in:
virgil authored and GitHub committed 2025-07-09 03:19:08 +08:00
1 parent f556e72604
commit 8e0f76c0ef
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ void AfeWakeWord::AudioDetectionTask() {
if (res->wakeup_state == WAKENET_DETECTED) {
StopDetection();
last_detected_wake_word_ = wake_words_[res->wake_word_index - 1];
last_detected_wake_word_ = wake_words_[res->wakenet_model_index - 1];
if (wake_word_detected_callback_) {
wake_word_detected_callback_(last_detected_wake_word_);