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

Stop audio DMA in baseband::shutdown() #2011

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

NotherNgineer
Copy link
Contributor

@NotherNgineer NotherNgineer commented Mar 19, 2024

Fixes a longstanding issue that the audio DMA engines, once started, continued to run freely after baseband::shutdown() was called. It wasn't as much of an issue before PR's #1982 and #1987 because all background processes were starting both audio-input and audio-output DMA engines and letting them run forever.

This issue was causing the Microphone app to crash when switching between baseband processes that perform DMA operations in different directions.

Fixes #1998

Test firmware available here: https://discord.com/channels/719669764804444213/722101917135798312/1219496508400078899

Copy link
Member

@gullradriel gullradriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple fix, nice

@gullradriel gullradriel merged commit b53c8e1 into portapack-mayhem:next Mar 19, 2024
3 checks passed
@NotherNgineer NotherNgineer deleted the baseband-shutdown branch March 21, 2024 05:05
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.

2 participants