Skip to content

nRF: PWMAudioOut: handle non-looping rawsamples #2400

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
Dec 17, 2019

Conversation

jepler
Copy link

@jepler jepler commented Dec 17, 2019

By managing flags in a different order -- and by clearing out some potential left-over events from earlier use of the PWM instance -- we can stop rawsamples, rather than looping them forever

Testing performed: On a feather_nrf52840_express, ran a test with looped and non-looped RawSamples and WaveFiles

@ladyada
Copy link
Member

ladyada commented Dec 17, 2019

@kattni please test the artifact against your bug report

Copy link

@kattni kattni left a comment

Choose a reason for hiding this comment

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

Tested successfully on Circuit Playground Bluefruit. Thanks for the fix!

@kattni kattni merged commit 1108e8f into adafruit:master Dec 17, 2019
@jepler jepler deleted the nrf-rawsample-loop branch November 3, 2021 21:10
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.

3 participants