Skip to content

Issue #4945 - handle multiple PulseIns #4975

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
Jul 9, 2021
Merged

Conversation

DavePutz
Copy link
Collaborator

@DavePutz DavePutz commented Jul 8, 2021

Changed the logic in RP2040 PulseIn to pass the pulseio_pulsein object reference as an argument in the interrupt call. This avoids getting an incorrect pio/state machine reference when checking the input FIFO and using more that one PulseIn.

@tannewt tannewt self-requested a review July 9, 2021 18:02
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thanks @DavePutz! I appreciate you working on all of this pulseio stuff.

@tannewt tannewt merged commit 58fdf9e into adafruit:main Jul 9, 2021
@DavePutz DavePutz deleted the issue_4945 branch August 24, 2021 17:04
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