Skip to content

Reset buffer index in PulseIn clear #4666

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 26, 2021
Merged

Reset buffer index in PulseIn clear #4666

merged 1 commit into from
Apr 26, 2021

Conversation

DavePutz
Copy link
Collaborator

@DavePutz DavePutz commented Apr 25, 2021

In common_hal_pulseio_pulsein_clear() added a reset of buf_index. Fix for issue #4660.

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.

Thanks for figuring this out!

@jepler jepler merged commit 92919c2 into adafruit:main Apr 26, 2021
@DavePutz DavePutz deleted the issue_4660 branch April 28, 2021 15:22
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