Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash on missing wakeword #359

Merged
merged 6 commits into from
Jan 10, 2024
Merged

Conversation

stintel
Copy link
Collaborator

@stintel stintel commented Jan 9, 2024

No description provided.

When something goes wrong during initialization of the audio recorder,
we want to inform the user.
This allows us to use ESP-IDF's ESP_RETURN_ON_ERROR macro inside the
function, so we can skip printing the wake help text in case something
goes wrong.
If the SR recorder cannot be created for some reason, we currently just
print "Ready!" on the display. Improve UX by informing the user about
the problem.
@kristiankielhofner kristiankielhofner merged commit e30ab82 into main Jan 10, 2024
16 checks passed
@kristiankielhofner kristiankielhofner deleted the fix/crash_missing_wakeword branch January 10, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants