Skip to content

Run background tasks during display refresh #10277

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Apr 21, 2025

This allows audio buffers to be filled during display refresh. However, this only works during explicit refreshes though because background tasks cannot be recursive.

Also, on RP2, disable a finished audio DMA so it isn't accidentally triggered and restart the channels if needed.

This allows audio buffers to be filled during display refresh.
Howevere, this only works during explicit refreshes though because
background tasks cannot be recursive.

Also, on RP2, disable a finished audio DMA so it isn't accidentally
triggered and restart the channels if needed.
@tannewt tannewt requested a review from dhalbert April 22, 2025 18:08
@tannewt tannewt marked this pull request as ready for review April 22, 2025 18:08
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

This makes sense to me, and most importantly, you've tested it under tough conditions. Thanks!

@dhalbert dhalbert merged commit 08d964d into adafruit:main Apr 22, 2025
539 checks passed
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