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

LevelChanges reported when in fact level stays the same #186

Closed
andrewdavidmackenzie opened this issue Jun 20, 2024 · 5 comments · Fixed by #355
Closed

LevelChanges reported when in fact level stays the same #186

andrewdavidmackenzie opened this issue Jun 20, 2024 · 5 comments · Fixed by #355
Assignees
Labels
blocked can't work on it for now bug Something isn't working hardware Relates to configuration of or interaction with Pi GPIO hardware

Comments

@andrewdavidmackenzie
Copy link
Owner

I have tracked this down to rppal and reported an issue there:

golemparts/rppal#149

I will try to filter out in pi_hw.rs but it's not easy due to the bounds on the callback called from the interrupt.

@andrewdavidmackenzie andrewdavidmackenzie added bug Something isn't working next release hardware Relates to configuration of or interaction with Pi GPIO hardware labels Jun 20, 2024
@andrewdavidmackenzie andrewdavidmackenzie self-assigned this Jun 20, 2024
@andrewdavidmackenzie
Copy link
Owner Author

Seems this is coming from linux/drivers - and so very hard to fix. I'll leave it here for now, but not for next release.

@andrewdavidmackenzie andrewdavidmackenzie added blocked can't work on it for now and removed next release labels Jun 20, 2024
@andrewdavidmackenzie
Copy link
Owner Author

Upgrade to new API mentioned here golemparts/rppal#149 (comment)

after next release, then check it makes a difference, or we can use that to filter out unecessary events.

@andrewdavidmackenzie
Copy link
Owner Author

andrewdavidmackenzie commented Aug 2, 2024

Move to v2 of rppal

@andrewdavidmackenzie
Copy link
Owner Author

for 0.4.0

@andrewdavidmackenzie
Copy link
Owner Author

Waiting for a new release of rppal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked can't work on it for now bug Something isn't working hardware Relates to configuration of or interaction with Pi GPIO hardware
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant