pigpio icon indicating copy to clipboard operation
pigpio copied to clipboard

probably error

Open alpo opened this issue 3 years ago • 2 comments

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?

alpo avatar May 06 '21 19:05 alpo

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?

joan2937 avatar May 07 '21 20:05 joan2937

Yes, make the change in develop. Thanks.

guymcswain avatar May 08 '21 04:05 guymcswain