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

probably error #463

Open
alpo opened this issue May 6, 2021 · 2 comments
Open

probably error #463

alpo opened this issue May 6, 2021 · 2 comments

Comments

@alpo
Copy link

alpo commented May 6, 2021

Wandering through the pigpio.c code, I accidentally saw line 12059. gpioNotify[i].state = PI_NOTIFY_OPENED; Isn't this an error like issue #402?

@joan2937
Copy link
Owner

joan2937 commented May 7, 2021

Thanks.

Yes, that is an error. It should be

gpioNotify[slot].state = PI_NOTIFY_OPENED;

Fortunately i normally equals slot (as bufSize is normally 0).

@guymcswain Do you want me to make this change? In develop?

@guymcswain
Copy link
Collaborator

Yes, make the change in develop. Thanks.

joan2937 added a commit that referenced this issue May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants