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

Fix math error in GPIO digital interrupt #87

Merged
merged 1 commit into from
Dec 20, 2020
Merged

Conversation

CrazyIvan359
Copy link
Owner

Fix math error in GPIO debounce calculation, multiplied when I should have divided. Also corrects cast error in CDev interrupt where epoch nanoseconds (1.6×1015) is cast to a 32-bit integer (max 2.15×109).

Fixes #85

@CrazyIvan359 CrazyIvan359 added bug Something isn't working GPIO GPIO Module labels Dec 20, 2020
@CrazyIvan359 CrazyIvan359 merged commit c326955 into master Dec 20, 2020
@CrazyIvan359 CrazyIvan359 deleted the gpio-interrupt-fix branch December 20, 2020 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GPIO GPIO Module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GPIO Digital Interrupts not working
1 participant